Hi Victor,

Sorry about that. I will fix it and test ctrl-C on x86 and tile before resubmitting.

Regards,
-Ken

From: Victor Julien [mailto:notifications@github.com]
Sent: Thursday, October 03, 2013 4:56 AM
To: inliniac/suricata
Cc: Kenneth Steele
Subject: Re: [suricata] Use Spin locks on Tile (#565)


In src/tmqh-simple.c:

> @@ -111,7 +111,7 @@ void TmqhOutputSimple(ThreadVars *t, Packet *p)

>  SCDQGenericQData *TmqhInputSimpleOnQ(SCDQDataQueue *q)

>  {

>      SCMutexLock(&q->mutex_q);

> -    if (q->len == 0) {

> +    while (q->len == 0) {

I have reverted this change, it caused lockups when interrupting Suricata. See bug https://redmine.openinfosecfoundation.org/issues/988

—
Reply to this email directly or view it on GitHub<https://github.com/inliniac/suricata/pull/565/files#r6737171>.