[Libwebsockets] Signal Trap eclisping my Trap handler

Andy Green andy at warmcat.com
Wed Nov 16 14:46:13 CET 2016



On November 16, 2016 9:42:19 PM GMT+08:00, Shmuel Weiss <sweiss at kramerel.com> wrote:
>Hi Andy,
>
>We have a trap Handler in our main.cpp which seems to be eclipsed by
>the sigtrap of the Libwebsocket,
>
>How can we prevent libwebsocket to sigtrap ?

Just reassert your desired user signal handling after lws has created his context.

-Andy

>Thanks.
>
>[http://www.kramerelectronics.com/assets/images/signatures/Kramer-logo.png]
>
>Shmuel Weiss
>Kramer Electronics
>Project Lead and Software Team Leader
>
>
>________________________________
>Email: sweiss at kramerel.com<mailto:sweiss at kramerel.com>    Web:
>www.kramerelectronics.com<http://www.kramerelectronics.com/>    Tel:
>+972-73-2650405
>Cell: +972-54-3344141    Fax: +972-2-6535369    Address: 3 Am VeOlamo,
>Jerusalem, 9546303, Israel
>________________________________
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list