Oliver,

Thanks for joining the conversation and sharing your experience.

Did you externalize the wrappers that you used for RIOT? Are they reusable?

Pat

> -----Original Message-----
> From: Oliver Hahm [mailto:oliver.hahm at inria.fr]
> Sent: Wednesday, April 15, 2015 3:23 AM
> To: Lankswert, Patrick
> Cc: Rees, Kevron M; iotivity-dev at lists.iotivity.org
> Subject: Re: [dev] glib
> 
> 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: smime.p7s
Type: application/pkcs7-signature
Size: 7198 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150415/a462d33a/attachment.p7s>

Reply via email to