Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita30199b

Browse files
committed
Fix a couple occurrences of 'the the' in the new atomics API.
Author: Erik Rijkers
1 parentd11339c commita30199b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/include/port/atomics.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ pg_atomic_compare_exchange_u32(volatile pg_atomic_uint32 *ptr,
346346
/*
347347
* pg_atomic_fetch_add_u32 - atomically add to variable
348348
*
349-
* Returns thethevalue of ptr before the arithmetic operation.
349+
* Returns the value of ptr before the arithmetic operation.
350350
*
351351
* Full barrier semantics.
352352
*/
@@ -360,8 +360,8 @@ pg_atomic_fetch_add_u32(volatile pg_atomic_uint32 *ptr, int32 add_)
360360
/*
361361
* pg_atomic_fetch_sub_u32 - atomically subtract from variable
362362
*
363-
* Returns thethevalue of ptr before the arithmetic operation. Note that
364-
*sub_may not be INT_MIN due to platform limitations.
363+
* Returns the value of ptr before the arithmetic operation. Note that sub_
364+
* may not be INT_MIN due to platform limitations.
365365
*
366366
* Full barrier semantics.
367367
*/
@@ -376,7 +376,7 @@ pg_atomic_fetch_sub_u32(volatile pg_atomic_uint32 *ptr, int32 sub_)
376376
/*
377377
* pg_atomic_fetch_and_u32 - atomically bit-and and_ with variable
378378
*
379-
* Returns thethevalue of ptr before the arithmetic operation.
379+
* Returns the value of ptr before the arithmetic operation.
380380
*
381381
* Full barrier semantics.
382382
*/
@@ -390,7 +390,7 @@ pg_atomic_fetch_and_u32(volatile pg_atomic_uint32 *ptr, uint32 and_)
390390
/*
391391
* pg_atomic_fetch_or_u32 - atomically bit-or or_ with variable
392392
*
393-
* Returns thethevalue of ptr before the arithmetic operation.
393+
* Returns the value of ptr before the arithmetic operation.
394394
*
395395
* Full barrier semantics.
396396
*/
@@ -404,7 +404,7 @@ pg_atomic_fetch_or_u32(volatile pg_atomic_uint32 *ptr, uint32 or_)
404404
/*
405405
* pg_atomic_add_fetch_u32 - atomically add to variable
406406
*
407-
* Returns thethevalue of ptr after the arithmetic operation.
407+
* Returns the value of ptr after the arithmetic operation.
408408
*
409409
* Full barrier semantics.
410410
*/
@@ -418,8 +418,8 @@ pg_atomic_add_fetch_u32(volatile pg_atomic_uint32 *ptr, int32 add_)
418418
/*
419419
* pg_atomic_sub_fetch_u32 - atomically subtract from variable
420420
*
421-
* Returns thethevalue of ptr after the arithmetic operation. Note that sub_
422-
*maynot be INT_MIN due to platform limitations.
421+
* Returns the value of ptr after the arithmetic operation. Note that sub_ may
422+
* not be INT_MIN due to platform limitations.
423423
*
424424
* Full barrier semantics.
425425
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp