Univention Bugzilla – Attachment 6793 Details for
Bug 38174
60_umc-system.22_umc-service-proc-killing.test fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test program for WNOHANG
file_38174.txt (text/plain), 289 bytes, created by
Philipp Hahn
on 2015-03-31 16:08:37 CEST
(
hide
)
Description:
Test program for WNOHANG
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2015-03-31 16:08:37 CEST
Size:
289 bytes
patch
obsolete
>#!/usr/bin/python >import os >import sys >from time import sleep > >pid = os.fork() >if pid: > while True: > _pid, exit_status, _res_usage = os.wait4(pid, os.WNOHANG) > print 'pid=%d _pid=%d, ret=0x%x' % (pid, _pid, exit_status) > if pid == _pid: > break >else: # child > sys.exit(0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38174
: 6793