Hi! > Are you aware of well-supported glib implementations that is available for > iOS, Win32, WinRT or RTOSes like Contiki, uCOS, etc.
I seriously doubt that you'll find a real IoT RTOS that deals with glib - it's just too fat. > What is more work, porting glib to the next OS/RTOS or implementing a thread > and mutex wrapper for each OS? I think both alternatives are pretty challenging when it comes to really small, i.e. class 1 devices [1]. We've implemented several POSIX wrappers for RIOT (including pthreads and condition variables) and while some parts were fairly easy, it still introduces some overhead and I encourage to use RIOT's native threading and mutexes wherever possible. Things will become probably even more difficult on systems without native threading support (e.g. Contiki). Also, I remember some folks having problems with C++ and (p)thread wrappers, since implementing your own pthreads is not foreseen. Cheers, Oleg [1] https://tools.ietf.org/html/rfc7228 -- Microsoft Research-Inria Joint Centre B?timent Alan Turing 1 rue Honor? d'Estienne d'Orves Campus de l'?cole Polytechnique 91120 Palaiseau Mail: oliver.hahm at inria.fr Web: http://www.riot-os.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150415/99578012/attachment.sig>
