- C generator
Change-Id: I5cd458d4ef1ac71e4519c1aab4b52ca62763f534
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
handle->parcelable.to = __##_to;
handle->parcelable.from= __##_from;
handle->id = $$_DELEGATE_$$;
- handle->seq_id = seq_num++;
+ handle->seq_id = g_atomic_int_add(&seq_num, 1) + 1;
handle->callback = callback;
handle->once = once;
handle->user_data = user_data;
handle->parcelable.to = __##_to;
handle->parcelable.from = __##_from;
handle->id = $$_DELEGATE_$$;
- handle->seq_id = seq_num++;
+ handle->seq_id = g_atomic_int_add(&seq_num, 1) + 1;
handle->once = false;
handle->valid = true;