[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Clear fd list and suspend I/O threads on p
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Clear fd list and suspend I/O threads on process-fork w/kill-other-threads |
Date: |
Fri, 17 Jun 2016 18:13:14 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Jun 11, 2016 at 01:05:37PM +1200, Evan Hanson wrote:
> Previously, ##sys#kill-other-threads wouldn't clear the ##sys#fd-list,
> leading to errors when unrecognized file descriptors were encountered
> during scheduling. Additionally, it would set slots in random heap
> locations near ##sys#fd-list (potentially leading to heap corruption)
> since it incorrectly tried to suspend a list rather than a thread; the
> fd list has a different format than the timeout-list, and its `cdr` is a
> list of threads that must be each suspended individually.
Looks fine, pushed. Thanks!
Cheers,
Peter
signature.asc
Description: Digital signature