Commit graph

19 commits

Author SHA1 Message Date
Alex Shinn
4bd428da9e Unblock the current thread if it was waiting on an fd with activity.
Prevents useless extra polling slowing down the process as noted in issue #144.
2012-08-25 12:49:34 +09:00
Alex Shinn
b40370be52 thread-join! now returns the result or raises the exception of the joined thread 2012-08-15 21:23:39 +09:00
Alex Shinn
51c12f6115 If the only available thread is paused and we need to schedule it, remove it from the paused list.
Fixes issue #138 - otherwise the thread can be revived in the repl after we sleep.
2012-08-13 13:49:48 +00:00
Alex Shinn
736ff434e6 Updating srfi-38 to support writing labels only for values which cause cycles.
Also switching to srfi-69 for efficiency.
2012-08-12 21:28:36 +09:00
Alex Shinn
10b1110439 Fixing mutex-unlock! with paused thread waiting on mutex-lock! 2012-08-08 00:21:00 +09:00
Alex Shinn
3ee50bd0d7 length now requires a proper list.
It still accepts cyclic lists and returns #f, like SRFI-1 length+.
It's convenient to be able to accept improper lists (e.g. for
parameter lists), so the old behavior is available as length*.
Fixes issue #97.
2012-07-21 19:22:56 +09:00
Alex Shinn
a3daf9f728 don't check for a timeout on thread-join! unless one was specified 2012-07-21 18:46:56 +09:00
Alex Shinn
cdb8760fcc Need to unpause a paused thread if we want to terminate it. 2012-07-21 17:05:05 +09:00
Alex Shinn
0553dd41b9 Need to rename field parameter names in record constructors. 2012-07-16 22:49:48 +09:00
Alex Shinn
06d82e5695 fixing bignum integer-length for real 2012-06-10 23:06:44 +09:00
Alex Shinn
25247ee4b5 Fixing integer-length for bignums. 2012-06-07 00:48:43 +09:00
Alex Shinn
6ca990016a Fixing bug in bignum<->fixnum bitwise-[ix]or modifying inputs instead of outputs (oops). 2012-06-05 00:16:22 +09:00
Alex Shinn
fa0c699a6c Fixing unsigned integer bug in bit-set?. 2012-06-04 23:25:31 +09:00
Alex Shinn
befe63d6ba Using brace-notation for write/ss for records not containing any shares. 2012-06-02 20:11:54 +09:00
Alex Shinn
a56b497a00 fixing bug in srfi-38 for reading ellipsis 2012-05-23 23:27:02 +09:00
Alex Shinn
c8f13f8538 Adding (scheme cxr) library, removing all other references to c[ad]{3,4]r. 2012-05-20 15:16:11 +09:00
Alex Shinn
057f6b2dea Removing debug code not meant for commit. 2012-05-19 07:54:07 +09:00
Alex Shinn
a979e6ffcf bugfix for reading non-ascii chars 2012-05-19 07:52:17 +09:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00