fukamachi / event-emitter

Event mechanism for Common Lisp objects.
BSD 2-Clause "Simplified" License
27 stars 8 forks source link

Thread safe #3

Open bronzelegs opened 7 years ago

bronzelegs commented 7 years ago

I assume this is not thread safe, do you have plans to make it so?

Thanks

fukamachi commented 7 years ago

No. Event-Emitter is intended to work on a single thread. I'm not sure what you want, however, using Bordeaux-Threads' CONDITION-NOTIFY would be a candidate for kicking a callback beyond threads.

bronzelegs commented 7 years ago

I have been looking at this, I have not gone so far as to test it threaded, on my todo..

http://codereview.stackexchange.com/questions/14036/message-queues-in-common-lisp

your view would be instructive