Closed 7PintsOfCherryGarcia closed 4 years ago
My working threads get data from kdq until a NULL pointer is obtained.
Is calling kdq_shift on the same queue across multiple threads safe? Or would it be advisable to lock beforehand?
kdq_shift is not thread safe, unfortunately. You have to lock this call.
Perfect, thanks!!
My working threads get data from kdq until a NULL pointer is obtained.
Is calling kdq_shift on the same queue across multiple threads safe? Or would it be advisable to lock beforehand?