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:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Bl21rbbtOaFeefIBS9vcHNCJuuL2Gp9TrAmW1kPTE1Y=; b=GhH6ZWlZhIoJxPRCReh2TzJgu+xLfpLOql9QwR6F8R6emR0Fkt1QVcKbG2F4Qi16sj aYMmxsA+z/6rwV+rcjYctKSE9QcrQAs4cOBBWZ/tX1wH5fCoqu/uJrqIizzlMIs4W/8e VYmOVwUqqy+d4HyATWrLdMDEYABw+ldJmKkt0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hTpan1LKQ7LR/Cyxti1lu1VPzTpgDLiM0sH0MlIf6Rr+RZRe3WysK2o5f5+x8FC5TV BgwhVuqvLqg1cR+/zzJwtKhdtAs5j1Nxu6CqGsaopfFzkBBEELHL92HcL3WZJTzzIGos RAHGK2BFpOP2XJ9GDzWkM2ZPQzCZ6EaVScz2s= On Wed, Nov 11, 2009 at 4:18 PM, Tyler Sample <tyler.sample@gmail.com> wrote:
POSIX semaphores won't work because OSX doesn't support sharing them across processes. Carbon's "multiprocess services" also, strangely, doesn't work across process boundaries. System V style semaphores are missing the ability to timeout (on OSX)
Untested theory: can you use alarm/setitimer with SysV style semaphores? I believe SIGALRM is a synchronous signal, so would be delivered on the thread you set it on. Then you'd check your sem calls for EINTR. _______________________________________________ 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