Skip to content

Commit 2184db6

Browse files
committed
expose non blocking FEB functions.
1 parent e516107 commit 2184db6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/feb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ int API_FUNC qthread_writeEF_const(aligned_t *dest,
10301030
return qthread_writeEF(dest, &src);
10311031
} /*}}} */
10321032

1033-
int INTERNAL qthread_writeEF_nb(aligned_t *restrict dest,
1033+
int API_FUNC qthread_writeEF_nb(aligned_t *restrict dest,
10341034
const aligned_t *restrict src)
10351035
{ /*{{{ */
10361036
aligned_t *alignedaddr;
@@ -1091,7 +1091,7 @@ int INTERNAL qthread_writeEF_nb(aligned_t *restrict dest,
10911091
return QTHREAD_SUCCESS;
10921092
} /*}}} */
10931093

1094-
int INTERNAL qthread_writeEF_const_nb(aligned_t *dest,
1094+
int API_FUNC qthread_writeEF_const_nb(aligned_t *dest,
10951095
aligned_t src)
10961096
{ /*{{{ */
10971097
return qthread_writeEF_nb(dest, &src);
@@ -1288,7 +1288,7 @@ int API_FUNC qthread_readFF(aligned_t *restrict dest,
12881288
return QTHREAD_SUCCESS;
12891289
} /*}}} */
12901290

1291-
int INTERNAL qthread_readFF_nb(aligned_t *restrict dest,
1291+
int API_FUNC qthread_readFF_nb(aligned_t *restrict dest,
12921292
const aligned_t *restrict src)
12931293
{ /*{{{ */
12941294
const aligned_t *alignedaddr;
@@ -1489,7 +1489,7 @@ int API_FUNC qthread_readXX(aligned_t *restrict dest,
14891489
} /*}}} */
14901490

14911491
/* This is the non-blocking version of the previous one */
1492-
int INTERNAL qthread_readFE_nb(aligned_t *restrict dest,
1492+
int API_FUNC qthread_readFE_nb(aligned_t *restrict dest,
14931493
const aligned_t *restrict src)
14941494
{ /*{{{ */
14951495
const aligned_t *alignedaddr;

src/syncvar.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ int API_FUNC qthread_syncvar_readFF(uint64_t *restrict dest,
486486
return QTHREAD_SUCCESS;
487487
} /*}}} */
488488

489-
int INTERNAL qthread_syncvar_readFF_nb(uint64_t *restrict dest,
489+
int API_FUNC qthread_syncvar_readFF_nb(uint64_t *restrict dest,
490490
syncvar_t *restrict src)
491491
{ /*{{{ */
492492
eflags_t e = { 0, 0, 0, 0, 0 };
@@ -866,7 +866,7 @@ int API_FUNC qthread_syncvar_readFE(uint64_t *restrict dest,
866866
return QTHREAD_SUCCESS;
867867
} /*}}} */
868868

869-
int INTERNAL qthread_syncvar_readFE_nb(uint64_t *restrict dest,
869+
int API_FUNC qthread_syncvar_readFE_nb(uint64_t *restrict dest,
870870
syncvar_t *restrict src)
871871
{ /*{{{ */
872872
eflags_t e = { 0, 0, 0, 0, 0 };
@@ -1371,7 +1371,7 @@ int API_FUNC qthread_syncvar_writeEF_const(syncvar_t *restrict dest,
13711371
return qthread_syncvar_writeEF(dest, &src);
13721372
} /*}}} */
13731373

1374-
int INTERNAL qthread_syncvar_writeEF_nb(syncvar_t *restrict dest,
1374+
int qthread_syncvar_writeEF_nb(syncvar_t *restrict dest,
13751375
const uint64_t *restrict src)
13761376
{ /*{{{ */
13771377
eflags_t e = { 0, 0, 0, 0, 0 };
@@ -1457,7 +1457,7 @@ int INTERNAL qthread_syncvar_writeEF_nb(syncvar_t *restrict dest,
14571457
return QTHREAD_SUCCESS;
14581458
} /*}}} */
14591459

1460-
int INTERNAL qthread_syncvar_writeEF_const_nb(syncvar_t *restrict dest,
1460+
int API_FUNC qthread_syncvar_writeEF_const_nb(syncvar_t *restrict dest,
14611461
const uint64_t src)
14621462
{ /*{{{ */
14631463
return qthread_syncvar_writeEF_nb(dest, &src);

0 commit comments

Comments
 (0)