Csound Csound-dev Csound-tekno Search About

[Cs-dev] channel locks

Date2013-04-25 02:15
FromAndres Cabrera
Subject[Cs-dev] channel locks
AttachmentsNone  None  
Hi,

Each channel in the API currently has a lock member. These locks are meant to be spinlocks, which makes sense. However, looking at alloc_channel in bus.c, it seems that the spinlocks are only initialized on OS X, and left as 0 for all other platforms. I can't find a csoundCreateSpinlock function in the API. Should there be one?

Cheers,
Andrés