On 2015-01-13 14:41, Surabhi Mishra wrote:
Hello All,

usleep () is considered dangerous to be used in embedded systems as it
reduces responsiveness.
In function fluid_player_join () usleep (10000) is used to check the status.

Should it be replaced with something like conditional wait or anything else.

Agreed. When I look at it now, it seems more reasonable to have some conditional wait, and in addition make player->status atomic.

// David

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to