Commit graph

3 commits

Author SHA1 Message Date
emanuele-f
e1132d2d5a Fix invalid implementation of condition variables
The following issues are addressed:
  - Shared state queue_len was not protected by a lock. This could cause thread to block indefinitely.
  - Condition variable signal was performed without holding a lock. Again it can cause the thread to block indefinitely.
    See https://stackoverflow.com/questions/4544234/calling-pthread-cond-signal-without-locking-mutex
2017-11-20 13:08:27 +01:00
Luca Deri
7f8bddcff1 Implemented thread pool to be used for splitting callback scripts 2017-10-18 22:32:00 +02:00
Luca Deri
52b1375353 Implemented thread pool to be used for splitting callback scripts 2017-10-18 22:31:37 +02:00