fixed UCI thread cancellation on ARM

This commit is contained in:
Martin Willi 2008-07-24 08:52:12 +00:00
parent 3bc5a137cb
commit b6bf863459
1 changed files with 19 additions and 22 deletions

View File

@ -237,8 +237,6 @@ static void process(private_uci_control_t *this, char *message)
*/
static job_requeue_t receive(private_uci_control_t *this)
{
while (TRUE)
{
char message[128];
int oldstate, len;
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));
}
}
return JOB_REQUEUE_NONE;
return JOB_REQUEUE_FAIR;
}
/**