ohsewon / test

0 stars 0 forks source link

[ISSUE][CLOSED] [Mux] Revise locking mechanism. #292

Closed ohsewon closed 5 years ago

ohsewon commented 5 years ago

Issue by myungjoo-ham Tuesday Jul 17, 2018 at 06:51 GMT Originally opened as https://github.sec.samsung.net/STAR/nnstreamer/issues/292


I feel that the locking mechanism in common/tensors and gst/tesor_mux/tensormux.c requires some revises although the current code ( #283 ) seems ok. (and check GET_LOCK is safe or not)

Objective: reduce critical section (promote more parallelism), reduce lock checks, increase atomicity.

I'll review the code and revise if this is really needed.