Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
7e62ff74
Commit
7e62ff74
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Formatting
parent
699df7c2
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
src/queue.c
+0
-4
0 additions, 4 deletions
src/queue.c
with
0 additions
and
4 deletions
src/queue.c
+
0
−
4
View file @
7e62ff74
...
...
@@ -43,7 +43,6 @@
*
* @param q The #queue, assumed to be locked.
*/
void
queue_get_incoming
(
struct
queue
*
q
)
{
int
*
tid
=
q
->
tid
;
...
...
@@ -98,7 +97,6 @@ void queue_get_incoming(struct queue *q) {
* @param q The #queue.
* @param t The #task.
*/
void
queue_insert
(
struct
queue
*
q
,
struct
task
*
t
)
{
/* Get an index in the DEQ. */
const
int
ind
=
atomic_inc
(
&
q
->
last_incoming
)
%
queue_incoming_size
;
...
...
@@ -130,7 +128,6 @@ void queue_insert(struct queue *q, struct task *t) {
* @param q The #queue.
* @param tasks List of tasks to which the queue indices refer to.
*/
void
queue_init
(
struct
queue
*
q
,
struct
task
*
tasks
)
{
/* Allocate the task list if needed. */
...
...
@@ -166,7 +163,6 @@ void queue_init(struct queue *q, struct task *tasks) {
* @param prev The previous #task extracted from this #queue.
* @param blocking Block until access to the queue is granted.
*/
struct
task
*
queue_gettask
(
struct
queue
*
q
,
const
struct
task
*
prev
,
int
blocking
)
{
...
...
This diff is collapsed.
Click to expand it.
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