* notify it to the system console and then terminate the FRSH
* implementation and dependant applications
**/
-int fosa_ads_invoke_withdata
- (const void *msg, size_t msg_size, void *reply, size_t *reply_size);
-
+// int fosa_ads_invoke_withdata
+// (const void *msg, size_t msg_size, void *reply, size_t *reply_size);
+extern int fosa_ads_invoke_withdata (const void *msg,
+ size_t msg_size,
+ void *reply,
+ size_t *reply_size){
+ posix_appsched_invoke_withdata(msg, msg_size, reply, reply_size);
+}
/*}*/
//frsh_thread_id_t fosa_thread_self();
extern inline frsh_thread_id_t fosa_thread_self(){
- retrun pthread_self();
+ return pthread_self();
}
/*************************
**/
int fosa_thread_set_prio(frsh_thread_id_t tid, int prio);
extern inline fosa_thread_set_prio(frsh_thread_id_t tid, int prio){
- if ((ched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){
+ if ((sched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){
pthread_setschedprio(tid,prio);
return 0;
}