mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 19:55:10 +00:00
[FIX/WIP] Plumbing, -Werror, death to hitmen
Suspend killers are now no more. Except the actual killers to be gone eventually. Plumbing is also very basic as of now, but it "works".
This commit is contained in:
parent
1f658ece76
commit
bb836789b2
23 changed files with 310 additions and 165 deletions
|
|
@ -14,10 +14,6 @@ static XMPPComponent *jabber = NULL;
|
|||
static void
|
||||
SignalHandler(int signal)
|
||||
{
|
||||
size_t i;
|
||||
XMLElement *message, *body, *data;
|
||||
char *from;
|
||||
|
||||
switch (signal)
|
||||
{
|
||||
case SIGPIPE:
|
||||
|
|
@ -32,6 +28,8 @@ SignalHandler(int signal)
|
|||
return;
|
||||
}
|
||||
/* Create a loopback stanza, forcing the thread to die */
|
||||
|
||||
/* TODO: Better way to break out. */
|
||||
Log(LOG_INFO, "Killing thread...");
|
||||
XMPPKillThread(jabber, "killer");
|
||||
pthread_join(xmpp_thr, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue