aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-10-11 14:52:21 +0200
committerDan Gudmundsson <[email protected]>2012-10-30 16:14:45 +0100
commit6fba00f0e0e66311dd3a476aaa0c9d7f288a2a9b (patch)
tree740b71385f59d07362caef8ff0f77b79e98cce5e /lib/kernel/test
parenta8b2ba096dc48a29af52fd68070089d4bbb37483 (diff)
downloadotp-6fba00f0e0e66311dd3a476aaa0c9d7f288a2a9b.tar.gz
otp-6fba00f0e0e66311dd3a476aaa0c9d7f288a2a9b.tar.bz2
otp-6fba00f0e0e66311dd3a476aaa0c9d7f288a2a9b.zip
stdlib: Monitor proc_lib:start'ed processes to avoid waiting forever
Monitor the spawned process in proc_lib:start/[3|4|5], so that a proper error is returned, if the spawned process crashes before proclib:init_ack/1 is sent. Previously the calling process would hang forever or until specified timeout. Start link catches these errors but start did not. start now behaves as start_link if process traps exit.
Diffstat (limited to 'lib/kernel/test')
0 files changed, 0 insertions, 0 deletions