thread: checking waiting cb_type 94/171994/1
authorBoram Park <boram1288.park@samsung.com>
Thu, 8 Mar 2018 12:35:07 +0000 (21:35 +0900)
committerBoram Park <boram1288.park@samsung.com>
Thu, 8 Mar 2018 12:35:21 +0000 (21:35 +0900)
commit7941cfbc65a4abcdc1e9c45716e0561348b0ed2a
treefd54d7baee02f9348c6df1e8153e362d05eb4f6e
parent1ffe57e554823b255a379390e220eac050417e5a
thread: checking waiting cb_type

if waiting_cb_type != cb_type->type, send cb to other thread if needed.
when a thread is waiting status, if other thread tries to send the same type cb
as sync, we CAN'T handle it. So we'd better make assert it to find another
solution.

Change-Id: I06f92b2814a3a4e0d23d9d6df3c8b17526e1175f
src/tdm_thread.c