Saman Barghi
Saman Barghi
This line can be reached even when the mailbox is suspended and not empty : https://github.com/AsynkronIT/protoactor-go/blob/dev/mailbox/mailbox.go#L94
Using FibonacciFJ example, it seems that reusing a uThread causes segfault when the internal Mutex and CV are accessed.
- [x] Single Ready Queue per Cluster (Mutex/Cv) - [x] Lock free Multiple Producer Single Consumer Queue per kThread - [x] Intrusive - [x] Non-intrusive - [x] Queue (Mutex/CV) per...
Support uThread-local storage similar to thread-local storage
Add the support for kqueue
See: http://en.cppreference.com/w/cpp/atomic/atomic_flag
It should be possible for other uThreads to cancel another uThread. It can only happen if uThread is Blocked or is in the ReadyQueue (in other words, it's not running)....
BlockingQueue should provide a timer and thus makes Mutex and other synchronization variables use that to enhance the functionality.