Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
c0f1aaf6
Commit
c0f1aaf6
authored
Mar 22, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qid collision att qid = 100
parent
55b1aa86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/lib/rt/src/rt_qdb.c
src/lib/rt/src/rt_qdb.c
+2
-0
src/lib/rt/src/rt_qdb.h
src/lib/rt/src/rt_qdb.h
+2
-0
No files found.
src/lib/rt/src/rt_qdb.c
View file @
c0f1aaf6
...
...
@@ -1088,6 +1088,8 @@ qdb_AddQue (
qp
=
hash_Search
(
sts
,
&
qdb
->
qix_ht
,
&
qix
);
if
(
qp
!=
NULL
)
pwr_Return
(
NULL
,
sts
,
QCOM__QALLREXIST
);
}
else
{
if
(
qdb
->
g
->
qid
.
qix
==
qdb_cQix_ReservedMin
)
qdb
->
g
->
qid
.
qix
=
qdb_cQix_ReservedMax
+
1
;
qix
=
qdb
->
g
->
qid
.
qix
++
;
}
...
...
src/lib/rt/src/rt_qdb.h
View file @
c0f1aaf6
...
...
@@ -129,6 +129,8 @@ static const qcom_sQid qdb_cQmonitor = {qdb_cImonitor, 0};
#define qdb_cMin_pool_isize 600000
#define qdb_cMaxSegSize 1456
#define qdb_cQix_ReservedMin 100
#define qdb_cQix_ReservedMax 199
/* General database lock to keep consistency.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment