mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	This introduces the following changes :
    * Implmentation added for pthread attribute related functions :
        * pthread_attr_init
        * pthread_attr_destroy
        * pthread_attr_setdetachstate
        * pthread_attr_getdetachstate
        * pthread_attr_getstacksize
        * pthread_attr_setstacksize
    * pthread_create now supports passing attributes/configs through pthread_attr_t structure
    * pthread_mutex_timedlock added
    * pthread_exit added
    * memory for joinable thread is freed before returning from pthread_join
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			576 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			576 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "PThreads"
 | 
						|
 | 
						|
config ESP32_PTHREAD_TASK_PRIO_DEFAULT
 | 
						|
    int "Default task priority"
 | 
						|
    range 0 255
 | 
						|
    default 5
 | 
						|
    help
 | 
						|
        Priority used to create new tasks with default pthread parameters.
 | 
						|
 | 
						|
config ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT
 | 
						|
    int "Default task stack size"
 | 
						|
    default 3072
 | 
						|
    help
 | 
						|
        Stack size used to create new tasks with default pthread parameters.
 | 
						|
 | 
						|
config PTHREAD_STACK_MIN
 | 
						|
    int "Minimum allowed pthread stack size"
 | 
						|
    default 768
 | 
						|
    help
 | 
						|
        Minimum allowed pthread stack size set in attributes passed to pthread_create
 | 
						|
 | 
						|
endmenu
 |