[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-mac
Subject: Re: [KDE/Mac] [CODE] Multithreaded SIGSEGV signal handling,
From: Michael Pyne <mpyne () kde ! org>
Date: 2011-09-25 15:49:57
Message-ID: 3402377.adyHOd8h5R () midna
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Sunday, September 25, 2011 14:34:49 you wrote:
> The next problem is, that sem_init(..) isn't implemented here.
> $ ./sigcatcher
> Error: sem_init: Function not implemented
> $
>
> It seems that only named semaphores are implemented.
> I've changed this part of your code to use sem_open(..) instead [see
> attachment] and then I get the expected result:
For the application in question named synchronization primitives are non-
ideal. Does Mac OS X support a plain pthread_mutex? If so that would work fine
(and probably even the Qt primitives will work OK).
Also, could you test whether a SIGSEGV is actually caught and handled
correctly? My email last night was wishy-washy about that but the
sigsetjmp/siglongjmp stuff is closer to hocus-pocus than most programs are
likely to get and it would be nice to know if that works or not.
Regards,
- Michael Pyne
["signature.asc" (application/pgp-signature)]
_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic