Re: Fwd: errno global vx. errno pthread...
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=I32wfz9Jv2Olhf1E9YQXP3zhFpy1RiwW1Jz+uzbyjko=; b=p2zUXPJE3JP8352sahhVPN0GzKOM6ImYLyKAeZcTItFTAi1FlM1hKm5pwlflJ9mt6p QmCCqVXws0IoKdqj4FI6lEmkXT1hha17a3PTnE02tD4RvhegQqNuoxpq5qwQ3XDQ5YLQ VRCSEsFYc4H1IM5qu/eNLbxG+zVeHmKtc/UFc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=juMn3BxcbDpPDah2cso2q6WWhreOKAI7f6xCNI2hQZiLSPbN5h2tkHuJjLQt8CcNxP MqHP7R6repuDrwSJ9HFelrwVVnS389InUv2bBDsyMT/TM9UZSVZeW8gTQwwio7COTHNH NJ/b9c3Kow8qEVM3DLmc7U139gpS2zAxph2tA= Thanks! sem_init () was wrong indeed! Though it is defined within pthread.h, the return code is `function not implemented`. ( I missed the info that un-named pthread semaphores are not supported by OS X ). Thanks once again. Michael. On Tue, Oct 7, 2008 at 3:04 PM, Jan Brittenson <bson@rockgarden.net> wrote:
What's sem_init()? It has no man page.
It'll work if you use sem_open() instead:
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Andronov