wait(1) problems are rare, even on the beginner forums. Please explain to me what a mutual exclusion is -- I can get by with multi-threading, but am still unfamiliar with mutexes. And then explain it and linked lists (which I doubt many Lite-C users try without mastering wait(1) first) and multi-threading more trivially than your own explanation for wait().

Whether or not something is trivial is relative to one's own experience. To say wait() is not trivial gives enough frame of reference to say that implementing your example on one's own is not trivial.

Anyway, whether or not it's trivial is not important. Maybe it is the other way around for someone who's a competent C programmer first before starting with Lite-C. I won't say any more on the matter here. But I'd still like you to explain mutexes to me, please laugh

Jibb


Formerly known as JulzMighty.
I made KarBOOM!