mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 18:51:53 +01:00 
			
		
		
		
	Correct pthread related types
git-svn-id: trunk@30172 -
This commit is contained in:
		
							parent
							
								
									2dcd42d4f1
								
							
						
					
					
						commit
						c45d3a2d96
					
				| @ -170,6 +170,7 @@ struct statfs12 { | ||||
|     end; | ||||
|    pmbstate_t = ^mbstate_t; | ||||
|   | ||||
| { records transcripted fromm NetBSD 5.1 libpthread sources }  | ||||
|    pthread_t            = pointer; | ||||
|    pthread_attr_t       = record | ||||
|      pta_magic : cuint; | ||||
| @ -181,8 +182,21 @@ struct statfs12 { | ||||
|      ptma_magic : cint; | ||||
|      ptma_private : pointer; | ||||
|    end; | ||||
|    pthread_cond_t       = pointer; | ||||
|    pthread_condattr_t   = pointer; | ||||
|    pthread_spin_t = char; | ||||
|    pthread_queue_t = record | ||||
|        first, last : pointer; | ||||
|      end; | ||||
|    pthread_cond_t       = record | ||||
|        ptc_magic : cuint; | ||||
|        ptc_lock : pthread_spin_t; | ||||
|        ptc_waiters : pthread_queue_t; | ||||
|        ptc_mutex : ^pthread_mutex_t; | ||||
|        ptc_private : pointer; | ||||
|      end; | ||||
|    pthread_condattr_t   = record | ||||
|        ptca_magic : cuint; | ||||
|        ptca_private : pointer; | ||||
|      end; | ||||
|    pthread_key_t        = cint; | ||||
|    pthread_rwlock_t     = pointer; | ||||
|    pthread_rwlockattr_t = pointer; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 pierre
						pierre