I was looking for list code for my SERVER aplication and lernt about sys/queue.h
As I far i understood. Its a LINUX library offering a ready and standard Queue for programmers so they dont have to create their owns and worry for any self
I was looking for list code for my SERVER/CLIENTS aplication and lernt about sys/queue.h
Now asking more about sys/queue.h:
- Its available only to Linux or to windows also?
- Its considered the most trustworthy and flawless list someone can use as it standarized from the OS?
- Does it has limits in elements or its dynamical?
- Does it ensures internally the atomicity of operations if its accesed concurently by many threads in multithreading programming, or u still need mutexes lock/lock-free programming?
Lastly this example does not compile
line 19 says "invalid conversion form void* to foo*"
http://ideone.com/T1EID