~ubuntu-branches/ubuntu/hardy/open-iscsi/hardy-updates

« back to all changes in this revision

Viewing changes to usr/actor.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Zobel-Helas
  • Date: 2006-12-03 16:54:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061203165421-xhttz5j4l9sowg8u
Tags: 2.0.730-0.2
upload to unstable, as no new bugs arised.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        switch(thread->state) {
84
84
        case ACTOR_SCHEDULED:
85
85
        case ACTOR_WAITING:
 
86
        case ACTOR_POLL_WAITING:
86
87
                log_debug(1, "deleting a scheduled/waiting thread!");
87
88
                remque(&thread->item);
88
89
                break;
246
247
                        log_debug(1, "actor_list: thread state corrupted!");
247
248
                remque(&thread->item);
248
249
                thread->state = ACTOR_NOTSCHEDULED;
 
250
                log_debug(7, "exec thread %08lx callback", (long)thread);
249
251
                thread->callback(thread->data);
250
 
                log_debug(7, "thread %08lx removed from actor_list",
251
 
                        (long)thread);
 
252
                log_debug(7, "thread removed\n");
252
253
        }
253
254
        poll_in_progress = 0;
254
255