Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 14ecd6c in mainline


Ignore:
Timestamp:
2009-10-29T20:13:35Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
2b88074b
Parents:
c638c07
Message:

Fix bad test of kb.finished. (see ticket #137)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/kbox.c

    rc638c07 r14ecd6c  
    137137                /* Only detach kbox thread unless already terminating. */
    138138                mutex_lock(&TASK->kb.cleanup_lock);
    139                 if (&TASK->kb.finished == false) {
     139                if (TASK->kb.finished == false) {
    140140                        /* Detach kbox thread so it gets freed from memory. */
    141141                        thread_detach(TASK->kb.thread);
Note: See TracChangeset for help on using the changeset viewer.