Changeset 0ac99db in mainline


Ignore:
Timestamp:
2010-06-02T20:35:44Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f8d07859
Parents:
4acaa7c0
Message:

Make uspace threads stoppable before they exit. This fixes ticket #244.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r4acaa7c0 r0ac99db  
    454454                /* Generate udebug THREAD_E event */
    455455                udebug_thread_e_event();
     456
     457                /*
     458                 * This thread will not execute any code or system calls from
     459                 * now on.
     460                 */
     461                udebug_stoppable_begin();
    456462#endif
    457463                if (atomic_predec(&TASK->lifecount) == 0) {
Note: See TracChangeset for help on using the changeset viewer.