Home
ZETA Gets Full pthreads Support. PDF Print E-mail
Written by frankps   
Monday, 13 November 2006
Article Index
ZETA Gets Full pthreads Support.
Page 2

One of the things that has been missing on the BeOS platform, either it is for BeOS, ZETA or Haiku, is pthread, and this was also something that yellowTAB experienced when they were working on a port of OpenOffice.

A few external developers have already shown their interest in getting access to the new lib and it's current header, among them are the BeZilla team and SHINTA, who needs it for his current project "Anthy for ZETA". Others interested in sources should make contact with Bernd Korz.

The pthread sources will be made available to the Haiku project.

Related link:
http://www.berndsworld.com

Comments
Written by gtflive on 2006-11-14 00:52:58
pthread_FULL_implementation + BeOS_Kernel = SIMPLY_IMPOSSIBLE
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it on 2006-11-14 01:41:50
Would you care to explain why its "Simply Impossible" (sans the obnoxious capitalisation of course)? Or are you just saying that because you don't believe that it has been done? I'm sure you'll be willing to enlighten us with your sage-like knowledge of the BeOS kernel.
Written by NoHaikuForMe on 2006-11-14 03:43:26
If the underlying OS kernel is missing certain primitives then you can't implement POSIX threading correctly. For some applications it won't matter, others will sometimes malfunction for no apparent reason. 
 
There are early pthread implementations on Linux that were missing some of the POSIX behaviour and a lot of software will run, but some crashes. 
 
I haven't got sufficiently complete documentation for BeOS to judge whether the original poster is correct, but it's certainly possible that BeOS was missing one or more necessary primitives (and we've seen that before with e.g. mmap or select in earlier versions) and thus can't fully implement POSIX threads. 
 
None of this would affect Haiku, except in the sense that it's yet another TODO item for a project that's taken more than five years just cloning BeOS R5.
Written by gtflive on 2006-11-14 07:06:39
Complementing the previous justification, I state that the "BeOS Kernel Kit" cannot acomplish the Standard "POSIX 1003.1c" . Just read both documents for further details and the reasons.
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it on 2006-11-14 07:42:37
You've changed what you were saying now. You initially said it couldn't support pthreads, now you're saying that it can't support the entire POSIX standard. Neither is anything you can actually prove, but the latter is far more complex than the former.
Written by stew on 2006-11-14 12:28:08
And who tells you that the Zeta and Haiku kernels cannot be modified to provide whatever that magic piece may be?
Written by gtflive on 2006-11-14 23:54:50
I stated “POSIX 1003.1c” and not “POSIX Standard”, please be documented as I am. 
 
I talk about BeOS Kernel not ZETA or Haiku. But it is being talked a “separated” library that gives the FULL pthreads support. A separated library simply cannot give more functionality to the kernel. And to close, the provided list of functions in the link is far to be the full pthreads support. End of story 
What's good about pthreads?
Written by nutela on 2006-11-15 00:08:39
Apart from the compatibility with I presume POSIX and all it's POSIX apps?
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it on 2006-11-15 06:36:38
And this doesn't work on the BeOS kernel, -we're- only talking about the ZETA and Haiku kernels. And you still haven't given anything other than your personal opinion about how it isn't possible.
Written by stew on 2006-11-15 09:00:28
This is 2006. Why would anyone care about the old BeOS kernel?
Written by MaxOS on 2006-11-15 13:10:33
Maybe so, maybe so, maybe not, who know's..? 
whatever... BeOS 5 is free and stability :)



 
< Prev   Next >