summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go')
-rw-r--r--vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go33
1 files changed, 21 insertions, 12 deletions
diff --git a/vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go b/vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
index 82d95faa..a531fb52 100644
--- a/vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
+++ b/vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
@@ -1091,7 +1091,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
// These few don't really vary by system, they always correspond
-// to one of the other defined types.
+//
+// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:204:14 */
@@ -1102,8 +1103,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
type X__socklen_t = uint32 /* types.h:210:23 */
// C99: An integer type that can be accessed as an atomic entity,
-// even in the presence of asynchronous interrupts.
-// It is not currently necessary for this to be machine-specific.
+//
+// even in the presence of asynchronous interrupts.
+// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:215:13 */
// Wide character type.
@@ -1195,7 +1197,8 @@ type Time_t = X__time_t /* time_t.h:10:18 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
-// has nanoseconds instead of microseconds.
+//
+// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@@ -1959,9 +1962,10 @@ type X__pthread_mutex_s = struct {
// <https://www.gnu.org/licenses/>.
// There is a lot of padding in this structure. While it's not strictly
-// necessary on RISC-V, we're going to leave it in to be on the safe side in
-// case it's needed in the future. Most other architectures have the padding,
-// so this gives us the same extensibility as everyone else has.
+//
+// necessary on RISC-V, we're going to leave it in to be on the safe side in
+// case it's needed in the future. Most other architectures have the padding,
+// so this gives us the same extensibility as everyone else has.
type X__pthread_rwlock_arch_t = struct {
F__readers uint32
F__writers uint32
@@ -1995,18 +1999,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
// Thread identifiers. The structure of the attribute type is not
-// exposed on purpose.
+//
+// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
-// type is not exposed on purpose.
+//
+// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
-// the attribute type is not exposed on purpose.
+//
+// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@@ -2030,7 +2037,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
-// structure of the attribute type is deliberately not exposed.
+//
+// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@@ -2042,7 +2050,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
-// deliberately not exposed.
+//
+// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]uint8