Changeset 81c4e6ec in mainline for uspace/srv/sysman/job.h


Ignore:
Timestamp:
2020-07-05T20:46:27Z (4 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Parents:
a73aaec1
git-author:
Matthieu Riolo <matthieu.riolo@…> (2020-07-05 20:37:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-07-05 20:46:27)
Message:

removing adt/array and replace it with adt/list in sysman

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/job.h

    ra73aaec1 r81c4e6ec  
    3030#define SYSMAN_JOB_H
    3131
    32 #include <adt/array.h>
    3332#include <adt/list.h>
    3433#include <stdatomic.h>
     
    5655typedef struct job job_t;
    5756
     57typedef struct {
     58        link_t link;
     59        job_t *job;
     60} job_link_t;
     61
    5862struct job {
    5963        link_t job_queue;
     
    6468
    6569        /** Jobs that this job is preventing from running */
    66         array_t blocked_jobs;
     70        list_t blocked_jobs;
    6771        /**
    6872         * No. of jobs that the job is actually blocking (may differ from size
Note: See TracChangeset for help on using the changeset viewer.