Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
20
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Commits
c81b8621
Commit
c81b8621
authored
2 years ago
by
ruslan.laishev
💬
Browse files
Options
Downloads
Patches
Plain Diff
[+] Added experimental dap_proc_queue_create_ext()
parent
f5100028
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap-sdk/net/core/include/dap_proc_queue.h
+5
-4
5 additions, 4 deletions
dap-sdk/net/core/include/dap_proc_queue.h
with
5 additions
and
4 deletions
dap-sdk/net/core/include/dap_proc_queue.h
+
5
−
4
View file @
c81b8621
...
...
@@ -59,16 +59,17 @@ typedef struct dap_proc_queue_item{
}
dap_proc_queue_item_t
;
typedef
struct
dap_proc_queue
{
dap_proc_thread_t
*
proc_thread
;
/* An assigned processor threads for the qu
u
eue's entries */
dap_proc_thread_t
*
proc_thread
;
/* An assigned processor threads for the queue's entries */
dap_events_socket_t
*
esocket
;
struct
{
pthread_mutex_t
lock
;
/* To coordinate access to the queuee's entries */
dap_slist_t
items
;
/*
An array of list according of priority number
s */
}
list
[
DAP_QUE
$
K_PRIMAX
];
dap_slist_t
items
;
/*
List of the queue' entrie
s */
}
list
[
DAP_QUE
$
K_PRIMAX
];
/* An array of list according of priority numbers */
}
dap_proc_queue_t
;
dap_proc_queue_t
*
dap_proc_queue_create
(
dap_proc_thread_t
*
a_thread
);
dap_proc_queue_t
*
dap_proc_queue_create
(
dap_proc_thread_t
*
a_thread
);
dap_proc_queue_t
*
dap_proc_queue_create_ext
(
dap_proc_thread_t
*
a_thread
);
int
dap_proc_queue_delete
(
dap_proc_queue_t
*
a_queue
);
int
dap_proc_queue_add_callback
(
dap_worker_t
*
a_worker
,
dap_proc_queue_callback_t
a_callback
,
void
*
a_callback_arg
);
...
...
This diff is collapsed.
Click to expand it.
ruslan.laishev
💬
@ruslan.laishev
mentioned in commit
5a466ac9
·
2 years ago
mentioned in commit
5a466ac9
mentioned in commit 5a466ac936f494f4f65bb488f46ad71bb6ebb890
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment