Changes between Initial Version and Version 1 of Ticket #5668, comment 26


Ignore:
Timestamp:
Jul 20, 2011, 4:18:48 PM (13 years ago)
Author:
marcusoverhagen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5668, comment 26

    initial v1  
    22''Net_server starts services by invoking fork() followed by exec(). If the latter fails (for instance because the service isn't installed), the forked child is invoking exit(). This in turn unloads libbe, triggering static cleanup code in BMessage, which deletes a couple of message ports that were inherited from the parent during the fork.[...]''
    33
    4 Doesn't the same problem apply to the global BLocker member of '''BLooperList gLooperList;''' in LooperList.cpp? I had used BLOCKER_ALWAYS_SEMAPHORE_STYLE during testing.
     4Doesn't the same problem apply to the BLocker member of global '''BLooperList gLooperList;''' in LooperList.cpp? I had used BLOCKER_ALWAYS_SEMAPHORE_STYLE during testing.
    55
    66What happens to other libraries global port/sem/thread ids after a fork/exec/exit?