New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
32
deps/w32-pthreads/tests/sizes.c
vendored
32
deps/w32-pthreads/tests/sizes.c
vendored
|
|
@ -1,32 +0,0 @@
|
|||
#define _WIN32_WINNT 0x400
|
||||
|
||||
#include "test.h"
|
||||
#include "../implement.h"
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
printf("Sizes of pthreads-win32 structs\n");
|
||||
printf("-------------------------------\n");
|
||||
printf("%30s %4d\n", "pthread_t", (int)sizeof(pthread_t));
|
||||
printf("%30s %4d\n", "ptw32_thread_t", (int)sizeof(ptw32_thread_t));
|
||||
printf("%30s %4d\n", "pthread_attr_t_", (int)sizeof(struct pthread_attr_t_));
|
||||
printf("%30s %4d\n", "sem_t_", (int)sizeof(struct sem_t_));
|
||||
printf("%30s %4d\n", "pthread_mutex_t_", (int)sizeof(struct pthread_mutex_t_));
|
||||
printf("%30s %4d\n", "pthread_mutexattr_t_", (int)sizeof(struct pthread_mutexattr_t_));
|
||||
printf("%30s %4d\n", "pthread_spinlock_t_", (int)sizeof(struct pthread_spinlock_t_));
|
||||
printf("%30s %4d\n", "pthread_barrier_t_", (int)sizeof(struct pthread_barrier_t_));
|
||||
printf("%30s %4d\n", "pthread_barrierattr_t_", (int)sizeof(struct pthread_barrierattr_t_));
|
||||
printf("%30s %4d\n", "pthread_key_t_", (int)sizeof(struct pthread_key_t_));
|
||||
printf("%30s %4d\n", "pthread_cond_t_", (int)sizeof(struct pthread_cond_t_));
|
||||
printf("%30s %4d\n", "pthread_condattr_t_", (int)sizeof(struct pthread_condattr_t_));
|
||||
printf("%30s %4d\n", "pthread_rwlock_t_", (int)sizeof(struct pthread_rwlock_t_));
|
||||
printf("%30s %4d\n", "pthread_rwlockattr_t_", (int)sizeof(struct pthread_rwlockattr_t_));
|
||||
printf("%30s %4d\n", "pthread_once_t_", (int)sizeof(struct pthread_once_t_));
|
||||
printf("%30s %4d\n", "ptw32_cleanup_t", (int)sizeof(struct ptw32_cleanup_t));
|
||||
printf("%30s %4d\n", "ptw32_mcs_node_t_", (int)sizeof(struct ptw32_mcs_node_t_));
|
||||
printf("%30s %4d\n", "sched_param", (int)sizeof(struct sched_param));
|
||||
printf("-------------------------------\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue