[Ocfs2-tools-devel] [PATCH] o2hbmonitor: add semaphore
Sunil Mushran
sunil.mushran at oracle.com
Mon Jan 3 22:26:02 PST 2011
On 01/03/2011 09:34 PM, Sunil Mushran wrote:
> On 01/03/2011 05:30 PM, Sunil Mushran wrote:
>>> + semid = semget(O2HB_SEM_MAGIC_KEY, 1, 0);
>>> + if (semid< 0)
>>> + return 0;
>>> + if (semop(semid, trylock, 1)< 0)
>>> + return 1;
> BTW, please add spaces around<.
>
> + if (semop(semid, trylock, 1)< 0)
Please ignore. Thunderbird seems to be the problem here.
More information about the Ocfs2-tools-devel
mailing list