* [Caml-list] BeOS Thread or Systhread libs
@ 2001-03-15 17:01 Sébastien Pierre
2001-03-29 13:06 ` Xavier Leroy
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Pierre @ 2001-03-15 17:01 UTC (permalink / raw)
To: CaML List
Hi again ;)
Well, while still trying to compile findlib I ran into a problem with
the Mutex module. I know that BeOS has no pthread support for now...
but isn't it possible to port the scheduler.c file to BeOS. I must say
i don't know anything about BeOS development, so I can't be of any
help. But I'd really appreciate to work on BeOS with OCaml... for the
moment I have to make my BSD server compile my project, which means
compilation times that get twice longer than on my workstation (at
least I get a glimpse of what development looked like years ago ;)
Cheers,
Seb.
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] BeOS Thread or Systhread libs
2001-03-15 17:01 [Caml-list] BeOS Thread or Systhread libs Sébastien Pierre
@ 2001-03-29 13:06 ` Xavier Leroy
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2001-03-29 13:06 UTC (permalink / raw)
To: Sébastien Pierre ; +Cc: CaML List
> Well, while still trying to compile findlib I ran into a problem with
> the Mutex module. I know that BeOS has no pthread support for now...
> but isn't it possible to port the scheduler.c file to BeOS.
I looked briefly into this some time ago, and it seemed easier to port
the "system threads" library (the one that builds upon OS-level
threads) than the "bytecode threads" library (the one that performs
its own scheduling at the level of the virtual machine, i.e. the
scheduler.c file).
One reason is that the bytecode-level scheduler is rather
Unix-specific, in particular it assumes that select() works on all
kinds of file descriptors, not just sockets, and I think this is one
point where BeOS departs from Unix.
If anyone wants to attempt a BeOS port of the system threads library,
I can answer questions about this, but I lack time and motivation to
do it myself.
- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-29 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-15 17:01 [Caml-list] BeOS Thread or Systhread libs Sébastien Pierre
2001-03-29 13:06 ` Xavier Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox