Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.
8 lines
70 B
C
8 lines
70 B
C
#include "threadimpl.h"
|
|
|
|
int
|
|
threadmaybackground(void)
|
|
{
|
|
return 0;
|
|
}
|