]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - include/fosa_app_def_sched.h
Migrating FOSA trunk to d-ac2v2. Phase 1 moving FRSH-FOSA to FOSA
[frescor/fosa.git] / include / fosa_app_def_sched.h
index 738a87563101af0f65ba85af48f350af22830483..e1c8aa2fdfdfb0cc0bb4cc1f73f450d51fcf398c 100644 (file)
@@ -163,7 +163,7 @@ int fosa_ads_scheduler_create
  * implementation and dependant applications
  **/
 int fosa_thread_attr_set_appscheduled
-        (frsh_thread_attr_t *attr,
+        (fosa_thread_attr_t *attr,
          bool appscheduled);
 
 /**
@@ -186,7 +186,7 @@ int fosa_thread_attr_set_appscheduled
  * implementation and dependant applications
  **/
 int fosa_thread_attr_get_appscheduled
-        (const frsh_thread_attr_t *attr,
+        (const fosa_thread_attr_t *attr,
          bool *appscheduled);
 
 /**
@@ -212,7 +212,7 @@ int fosa_thread_attr_get_appscheduled
  * implementation and dependant applications
  **/
 int fosa_thread_attr_set_appsched_params
-        (frsh_thread_attr_t *attr,
+        (fosa_thread_attr_t *attr,
          const void *param,
          size_t paramsize);
 
@@ -240,7 +240,7 @@ int fosa_thread_attr_set_appsched_params
  * implementation and dependant applications
  **/
 int fosa_thread_attr_get_appsched_params
-        (const frsh_thread_attr_t *attr,
+        (const fosa_thread_attr_t *attr,
          void *param,
          size_t *paramsize);
 
@@ -269,7 +269,7 @@ int fosa_thread_attr_get_appsched_params
  * implementation and dependant applications
  **/
 int fosa_ads_set_appscheduled
-        (frsh_thread_id_t thread,
+        (fosa_thread_id_t thread,
          bool appscheduled);
 
 /**
@@ -292,7 +292,7 @@ int fosa_ads_set_appscheduled
  * implementation and dependant applications
  **/
 int fosa_ads_get_appscheduled
-        (frsh_thread_id_t thread,
+        (fosa_thread_id_t thread,
          bool *appscheduled);
 
 
@@ -320,7 +320,7 @@ int fosa_ads_get_appscheduled
  * implementation and dependant applications
  **/
 int fosa_ads_set_appsched_params
-        (frsh_thread_id_t thread,
+        (fosa_thread_id_t thread,
          const void *param,
          size_t paramsize);
 
@@ -349,7 +349,7 @@ int fosa_ads_set_appsched_params
  * implementation and dependant applications.
  **/
 int fosa_ads_get_appsched_params
-        (frsh_thread_id_t thread,
+        (fosa_thread_id_t thread,
          void *param,
          size_t *paramsize);
 
@@ -401,7 +401,7 @@ int fosa_ads_get_appsched_params
  **/
 int fosa_adsactions_add_reject(
         fosa_ads_actions_t *sched_actions,
-        frsh_thread_id_t thread);
+        fosa_thread_id_t thread);
 
 /**
  * fosa_adsactions_add_activate()
@@ -438,7 +438,7 @@ int fosa_adsactions_add_reject(
  **/
 int fosa_adsactions_add_activate(
         fosa_ads_actions_t *sched_actions,
-        frsh_thread_id_t thread,
+        fosa_thread_id_t thread,
         fosa_ads_urgency_t urgency);
 
 /**
@@ -467,7 +467,7 @@ int fosa_adsactions_add_activate(
  **/
 int fosa_adsactions_add_suspend(
         fosa_ads_actions_t *sched_actions,
-        frsh_thread_id_t thread);
+        fosa_thread_id_t thread);
 
 /**
  * fosa_adsactions_add_timeout()
@@ -526,7 +526,7 @@ int fosa_adsactions_add_timeout(
  **/
 int fosa_adsactions_add_thread_notification(
         fosa_ads_actions_t *sched_actions,
-        frsh_thread_id_t thread,
+        fosa_thread_id_t thread,
         fosa_clock_id_t clock_id,
         const struct timespec *at_time);
 
@@ -562,7 +562,7 @@ int fosa_adsactions_add_thread_notification(
  * notify it to the system console and then terminate the FRSH
  * implementation and dependant applications
  **/
-int fosa_ads_set_handled_signal_set(frsh_signal_t set[], int size);
+int fosa_ads_set_handled_signal_set(fosa_signal_t set[], int size);
 
 
 /**
@@ -579,7 +579,7 @@ int fosa_ads_set_handled_signal_set(frsh_signal_t set[], int size);
  * notification message.
  *
  * Besides for the scheduler we don't have always a destinator
- * thread_id needed in frsh_signal_queue for OSE.
+ * thread_id needed in fosa_signal_queue for OSE.
  *
  * So the fosa implementation will solve this issue internally.
  * 
@@ -595,7 +595,7 @@ int fosa_ads_set_handled_signal_set(frsh_signal_t set[], int size);
  * notify it to the system console and then terminate the FRSH
  * implementation and dependant applications
  **/
-int fosa_signal_queue_scheduler(frsh_signal_t signal, frsh_signal_info_t info);
+int fosa_signal_queue_scheduler(fosa_signal_t signal, fosa_signal_info_t info);
 
 
 /**