Skip to content

Commit

Permalink
EINTR is not an error; ignoring this makes lkl mode dgb-debuggable
Browse files Browse the repository at this point in the history
  • Loading branch information
luciang committed Jun 14, 2009
1 parent dbcfa36 commit 7447814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/lkl/envs/apr.c
Expand Up @@ -167,7 +167,7 @@ static void* APR_THREAD_FUNC timer_thread(apr_thread_t *thr, void *arg)
timeout_us=-1;

if (status != APR_SUCCESS) {
if (!APR_STATUS_IS_TIMEUP(status)) {
if (!APR_STATUS_IS_TIMEUP(status) && APR_EINTR != status) {
char buffer[128];
printf("lkl: timer error: %s!\n",
apr_strerror(status, buffer, sizeof(buffer)));
Expand Down

0 comments on commit 7447814

Please sign in to comment.