Hi Oliver,

>For a start we can use separate functions for the semaphore operations (and  
>maybe bundle them in a separate file), e.g. snapscani_semaphore_open(), 
>snapscani_semaphore_close(), snapscani_semaphore_wait(), 

OS/2 has a full semaphore API, so it will not be a problem to implement
such functions.

I can suggest to write a more general api, like sanei_thread, to allow
a wider usage of code. Otherwise this code will be used only by
snapscan sources.


Bye,

        Yuri Dario

/*
 * member of TeamOS/2 - Italy
 * http://www.quasarbbs.com/yuri
 * http://www.teamos2.it
 * http://www.opera.com/os2/
 */

Reply via email to