byannoni / qthreads

A POSIX thread wrapper using a pool and queues of functions for C and (soon) C++
Apache License 2.0
1 stars 1 forks source link

Only allow fqdispatchtable members to access the queue member of the function queue #89

Closed byannoni closed 7 years ago

byannoni commented 7 years ago

The procedures for interacting with the queue can also modify other data in the object including the mutex. This should not be allowed. This will involve changing the prototype which is accepted in the fqdispatchtable.