Activity for sfjimmyo

  • sfjimmyo sfjimmyo posted a comment on discussion General Discussion

    thanks, i will test your solution.

  • sfjimmyo sfjimmyo posted a comment on discussion General Discussion

    Hello, is there a way to check follow void test() { .... if (c) return; // ok: no os_leave needed, because there is no os_enter before if (d) { os_leave(); // ERROR os_leave without a os_enter() return; } os_enter(); if (a) { os_leave(); return; // OK , } if (b) { return; // BUG os_leave missing } os_leave(); } os_enter / os_leave has a internal reference counter os_enter=++ and os_leave=-- Thanks

1