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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=EBAvYevwzwtpJ2UWOD7QoCkETq9DNg83LvQvIlJ0zpM=; b=NAhm2LHKVYaHgTnaolXSccWg35lZMZ2beY7vwPVXjuUYUksOwAmsJS5n0ttzRLVpne GCU1DyV0an+KPtoTGXimTQ6rxjmL4S05j8CKUI7fJ0Igc4FD0Xz8dHQEg5B6YlNb+0jx A+nWUqsqiTfX35w2AkV+VLR+OyHOSUFmbJmBk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=oZDnjzLbTxIRpShS+UXdLPx5D5JYpHCu0foEw5b88p3ZC4kd2CSQ9optxHtb2ovDqF IzpYEraq8hxz26EPnVRhESnwOT3Ps7pY9HZ+0uLTAcphBHdx38pBiMiZQLhLAzbriw/1 fjpKaOFlySWdNhnUs/7qGt/g75R2Hhy6sgWXU= Hi all I tried to use sem_init() but I think it is not there to use. It is declared in semaphore.h but when I do man sem_init() then it gives the message "No manual entry for sem_init". Now, I am using sem_open(). I think it is right API to create unique semaphore between multi-processes. But creating it in one process if I try to create in another process, the value of semaphore is not same. I am using same name in both process(1st argument of sem_open()). Please suggest to create semaphore (cross-processes). Regards rksinghal _______________________________________________ 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)
-
Rakesh Singhal