res = _SUCCESS;structrecv_buf*precvbuf;#ifdefCONFIG_RECV_THREAD_MODE_rtw_init_sema(&precvpriv->recv_sema,0);//will be removed_rtw_init_sema(&precvpriv->terminate_recvthread_sema,0);//will be removed#endif#ifdefPLATFORM_LINUXtasklet_init(&precvpriv->recv_tasklet, ...