Changeset de33dab in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2007-04-09T13:53:57Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
183788f1
Parents:
d0b1443
Message:

Revert some of the changes introduced in revision 2209.
I think it is not correct to remove serialization of pseudo threads in printf_core.c.
With thread-level futex serialization, several pseudo threads running in one thread could easily deadlock
the task.

Add a dedicated futex serialization to thread1.c test only.

File:
1 edited

Legend:

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

    rd0b1443 rde33dab  
    661661                if (uspace_thread_id != NULL)
    662662                        return (unative_t) copy_to_uspace(uspace_thread_id, &t->tid,
    663                         sizeof(t->tid));
     663                            sizeof(t->tid));
    664664                else
    665665                        return 0;
Note: See TracChangeset for help on using the changeset viewer.