Linked by Thom Holwerda on Tue 13th Oct 2009 18:24 UTC, submitted by Lazarus
FreeBSD Not too long ago, Apple open sourced its Grand Central Dispatch library, which aids in developing multithreaded code. It was suggested that it could be ported to other platforms, and the FreeBSD team has done exactly that. They have also done a lot of work related to getting GCD to work in a POSIX environment.
Thread beginning with comment 389123
To read all comments associated with this story, please click here.
Read between the lines
by 3rdalbum on Wed 14th Oct 2009 10:41 UTC
Member since:

Read between the lines on this one.

libdispatch was "ported" to FreeBSD. Which means that Mac OS X is NOT FreeBSD.

The FreeBSD team have done work to "get it running on a POSIX environment". Which means that Mac OS X is NOT a real POSIX environment. And presumably, not really UNIX.

Which is what I've been saying all along.

Reply Score: 2

RE: Read between the lines
by bvgastel on Wed 14th Oct 2009 11:18 in reply to "Read between the lines"
bvgastel Member since:

Mac OS X has also a different interface than POSIX to the system internals: Mach. If I remember the source and docs of GCD correctly it uses those Mach interfaces. This example says nothing about if Mac OS X is POSIX compliant, it just indicates there is a different interface.

I guess that almost no OS is 100% posix compliant, not even FreeBSD or Linux (but I'm not sure about that). Almost every Unix OS is to a certain degree Posix compliant, even Mac OS X.

Reply Parent Score: 5

RE: Read between the lines
by apoclypse on Wed 14th Oct 2009 12:37 in reply to "Read between the lines"
apoclypse Member since:

Except you'd be wrong. OSX IS POSIX compliant and is more Unix than even Linux.At the end of the day what really separates OSX from other unices is the interface it uses which is machlike. In fact if you read this you would see that OSX conforms almost 100% with one or more of the POSIX standards and is considered Fully POSIX compliant. Linux on the other is considered Mostly POSIX compliant, because it isn't compatible with the full or even most of the standards. OSX also has received the UNIX 03 certification which means for all intents and purposes OSX is UNIX.

Aside from that POSIX doesn't really mean much if you really think about it. Even Windows can be considered mostly POSIX compliant with the right software installed. The real Unix standards are actually being set by projects like FreeBSD and Linux, they usually are the first to implement new technology and usually their brethren follow suit to conform to what is currently happening.

Reply Parent Score: 7

RE[2]: Read between the lines
by tylerdurden on Wed 14th Oct 2009 23:57 in reply to "RE: Read between the lines"
tylerdurden Member since:

Technically, the interface is POSIX. Mach is the underlying kernel which is pretty hidden under the BSD personality layer.

Reply Parent Score: 1

RE[2]: Read between the lines
by sorpigal on Thu 15th Oct 2009 13:53 in reply to "RE: Read between the lines"
sorpigal Member since:

Being Fully Compliant is not necessarily much different from being Mostly Compliant. Even if you are 100% compliant you are only Mostly Compliant until you have been certified, which involves paying a fee. This is why Linux is not and never will be Fully Compliant.

That said, I understand that Linux is more like 99% compliant in that it (and GNU utilities) sometimes differ from the spec when it is felt that the spec is crazy. FreeBSD does the same kind of thing in a few places.

Reply Parent Score: 3