RetroBSD

2.11BSD operating system for microcontrollers
It is currently Sun Jun 17, 2018 11:37 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: pthreads ??
PostPosted: Fri Dec 28, 2012 8:17 pm 

Joined: Fri Dec 28, 2012 7:38 pm
Posts: 1
Hello

I'm new in this board, and maybe someone has an answer for my question.
In the last 2 days I got my chipKIT with RetroBSD up and runing. Now I try to compile an application (OpenDMTP client) in the chipKIT GCC toolchain to see if it fits (size) in the pic32. The application includes <pthread.h>, but the included file is missing some structs ( pthread_t, pthread_mutex_t, pthread_cond_t). The application compiles and runs under linux and cygwin.

My question is does RetroBSD suppurt threads or do I make a mistake ? If threads are not supported, it makes no sense for me to continue porting the application to RetroBSD.

Thank you very much and a Happy New Year
Helmut


Top
 Profile  
 
 Post subject: Re: pthreads ??
PostPosted: Fri Dec 28, 2012 9:10 pm 
Committer
User avatar

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1801
Location: Room 217, Floor 8, Arm 8, Wheel S7, Mars Base Alpha 3
I do not believe pthreads were even thought of in the days of 2.11BSD.

You would need to port the application so it used multiple processes instead of multiple threads (fork()).

_________________
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission