What is the purpose for param2?
What’s the purpose of setting bits in the 32-bit notification value?
In case you haven’t seen this page, it’s helpful:
One use of the notification value is for a task that waits for more than one possible event. The value can be used to indicate which event occurred. There are lots of other uses. Just remember that a task has a notification state – a binary indication whether the task is in the notified state or not – and a notification value – an application specific value the application can use however it wants.
Please do not post in the Community Media forum - that is not its purpose - there is a forum dedicated to the kernel. I will move this post over there now.