[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Error when Glib cross compiled into Mini-OS without the support of "_POSIX_THREADS"
>AFAIK mini-os doesn't supply a POSIX thread API, correct. > >I don't think anything else in the current stubdom infra (e.g. newlib) >supplies one either. > >> If so, can I still use the glib in the Mini-OS without the support of >> "_POSIX_THREADS"? > >That would be a question for the glib maintainers. At a minimum I'd >expect you would need to port glib to the mini-os thread API. > >But, before you go down that route I think you should consider the new >rumpkernels work which is going on. > >rumpkernels run on a mini-os/Xen and provide a BSD derived POSIX like >environment, which I expect will include pthreads. Depending on your >application it may well be very worthwhile to start from that (I think >it most likely would be, but I don't know what you are actually doing). > Thank you so much! My ultimate goal is to use libvmi in mini-os. And libvmi needs glib's support. So I needs to cross-compile glib into mini-os firstly. The mini-os kernel is essential for our project, so I probably have to port the glib to mini-os thread API. Can you give me some tips on how to port a thread API ? I am a newbie to mini-os thread API, any help would appreciated. Thank you! Lele Ma _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |