Hi
Are there any plans to support a timeout for
bordeaux-threads:condition-wait? The implementations I'm
aware of support this threading primitive:
* ABCL could presumably do it since Java Object.wait can take a timeout
* SBCL supports it using sb-thread:condition-wait with keyword :timeout [1]
* anything with POSIX threads underneath could use pthread_cond_timedwait
The main variation seems to be between those implementations that
use an absolute time and those that use a relative time (how long
to wait in milliseconds for example).
Since I think I need this feature I might try to write a patch to
do this for ABCL and SBCL if there is nothing already in
the works (unless there is some technical problem I'm not seeing?)
Thanks
Thomas Munro
[1] http://random-state.net/log/3523852985.html
Hello.
When running bordeaux-threads on CMUCL, the test suite
prints 8 megabytes of dots in output and then crashes
CMUCL with heap exhausted.
Best regards,
- Anton
Hello Bordeaux-threads developers,
Here is attached my port of bordeaux-threads 0.8.2 to MKCL.
The first file is a patch, done with git format-patch against your
git repository on common-lisp.net, that modifies bordeaux-threads.asd.
The second file is to be dropped as is in your "src" directory.
I hope you will find this adequate for your purpose.
Regards,
Jean-Claude Beaudoin