1# init_sync.h
2
3
4## Overview
5
6Declares the API for notifying the Init process of events.
7
8\@kit BasicServicesKit
9
10**System capability**: SystemCapability.Startup.SystemInfo
11
12**Since**: 10
13
14**Related module**: [InitSync](_init_sync.md)
15
16
17## Summary
18
19
20### Macros
21
22| Name| Description|
23| -------- | -------- |
24| **EVENT1**   0xf | Defines the event **EVENT1**.|
25| **EVENT1_WAITTIME**   10000 | The value **10000** indicates that the waiting time for **EVENT1** is 10s.|
26| **EVENT2**   0xf0 | Defines the event **EVENT2**.|
27| **EVENT2_WAITTIME**   0 | The value **0** indicates that QS_STAGE2 is not used.|
28| **EVENT3**   0xf00 | Defines the event **EVENT3**.|
29| **EVENT3_WAITTIME**   0 | The value **0** indicates that QS_STAGE3 is not used.|
30
31
32### Functions
33
34| Name| Description|
35| -------- | -------- |
36| int [NotifyInit](_init_sync.md#notifyinit) (unsigned long event) | Notifies the Init process of an event. This API can be called by all processes, especially the listened process.|
37