Is libInit() protected from switching i.e not running multitask?

This forum is for general developer support questions.
Post Reply
User avatar
gdridi
Posts: 81
Joined: Sat Aug 11, 2012 10:17 am

Is libInit() protected from switching i.e not running multitask?

Post by gdridi »

Hello!

I see difference between running my library between AOS4.1FinalEditionUpdate0 and AOS4.1FEUpdate2

Is there a Forbid() done by the Kernel when libInit() is called to initialize library code ? That was removed in AOS4.1FinalEditionUpdate2 ?

This leads to instability when launching multiple instances of my library at the same time. So libInit() must be protected by a Forbid().

This could explain mysterious bug ?
When launching multiple instances of program in parallel that use a same library.

Sincerely yours,

DGILLES
Post Reply