[libstatssocket] Changes to worker thread notify approach

- Notifying while under the lock may be necessary when precise scheduling of events is required

Flag: EXEMPT bugfix
Bug: 415412219
Test: N/A
Change-Id: I924869ff7d8ea5f0064f67178ea9f8c5792aae02
1 file changed