Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t

Squashed commit of the following:

    sched:  Rename all use of system_t to clock_t.
    syscall:  Rename all use of system_t to clock_t.
    net:  Rename all use of system_t to clock_t.
    libs:  Rename all use of system_t to clock_t.
    fs:  Rename all use of system_t to clock_t.
    drivers:  Rename all use of system_t to clock_t.
    arch:  Rename all use of system_t to clock_t.
    include:  Remove definition of systime_t; rename all use of system_t to clock_t.
This commit is contained in:
Gregory Nutt
2018-06-16 12:16:13 -06:00
parent 450e0809de
commit 8fdbb1e0a4
85 changed files with 274 additions and 271 deletions
+4 -4
View File
@@ -74,7 +74,7 @@ struct kworker_s
struct kwork_wqueue_s
{
systime_t delay; /* Delay between polling cycles (ticks) */
clock_t delay; /* Delay between polling cycles (ticks) */
struct dq_queue_s q; /* The queue of pending work */
struct kworker_s worker[1]; /* Describes a worker thread */
};
@@ -86,7 +86,7 @@ struct kwork_wqueue_s
#ifdef CONFIG_SCHED_HPWORK
struct hp_wqueue_s
{
systime_t delay; /* Delay between polling cycles (ticks) */
clock_t delay; /* Delay between polling cycles (ticks) */
struct dq_queue_s q; /* The queue of pending work */
struct kworker_s worker[1]; /* Describes the single high priority worker */
};
@@ -99,7 +99,7 @@ struct hp_wqueue_s
#ifdef CONFIG_SCHED_LPWORK
struct lp_wqueue_s
{
systime_t delay; /* Delay between polling cycles (ticks) */
clock_t delay; /* Delay between polling cycles (ticks) */
struct dq_queue_s q; /* The queue of pending work */
/* Describes each thread in the low priority queue's thread pool */
@@ -185,7 +185,7 @@ int work_lpstart(void);
*
****************************************************************************/
void work_process(FAR struct kwork_wqueue_s *wqueue, systime_t period, int wndx);
void work_process(FAR struct kwork_wqueue_s *wqueue, clock_t period, int wndx);
#endif /* CONFIG_SCHED_WORKQUEUE */
#endif /* __SCHED_WQUEUE_WQUEUE_H */