sys_arch_mbox_fetch() function
Fetch message from mailbox
Arguments
msg
pointer of the received message, could be NULL to indicate the message should be dropped
timeout
if zero, will wait infinitely; or will wait milliseconds specify by this argument
Return value
SYS_ARCH_TIMEOUT when timeout, 0 otherwise