On Sat, 2011-05-14 at 09:50 +0100, Barry Drake wrote:
> Thanks for that Alan.  I'll take a closer look.  sema_init works just
> fine in place of MUTEX, but needs a second parameter.  I used '1' which
> seems to work OK.  I'll look at the reference above and see what I've
> been doing.

A semaphore with value of 1 is a mutex. That should work fine.

Regards,
Tyler

-- 
"Freedom of thought is best promoted by the gradual illumination of
men's minds, which follows from the advance of science."
   -- Charles Darwin


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to