Add retrying count check for waiting threads 13/286913/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 16 Jan 2023 23:27:29 +0000 (23:27 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 16 Jan 2023 23:27:29 +0000 (23:27 +0000)
commit979cea589c8ac2bbf593e3cf1b8d4510921dbc8a
tree40a491a8b044648af8b7a631b48808fdaf276acb
parent8250edb891e7e9c7ba67ed4c5e0c0f4c68a91f3b
Add retrying count check for waiting threads

If the retyring count is exceeded, the candidate process stops to wait for
threads ready. The maximum retrying count is 600. In the worst case,
the candidate process can be waitted until 30 seconds.

Change-Id: I4c73674c9f783499af1087c3855f56205a52a6ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/launchpad/src/launchpad_lib.c