fixed UCI thread cancellation on ARM
This commit is contained in:
@@ -237,8 +237,6 @@ static void process(private_uci_control_t *this, char *message)
|
|||||||
*/
|
*/
|
||||||
static job_requeue_t receive(private_uci_control_t *this)
|
static job_requeue_t receive(private_uci_control_t *this)
|
||||||
{
|
{
|
||||||
while (TRUE)
|
|
||||||
{
|
|
||||||
char message[128];
|
char message[128];
|
||||||
int oldstate, len;
|
int oldstate, len;
|
||||||
FILE *in;
|
FILE *in;
|
||||||
@@ -264,8 +262,7 @@ static job_requeue_t receive(private_uci_control_t *this)
|
|||||||
{
|
{
|
||||||
DBG1(DBG_DMN, "opening UCI fifo failed: %s", strerror(errno));
|
DBG1(DBG_DMN, "opening UCI fifo failed: %s", strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
return JOB_REQUEUE_FAIR;
|
||||||
return JOB_REQUEUE_NONE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user