mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	win32/win32.c: I meant FindFreeChildSlot [ci skip]
which was formerly used in CreateChild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									26519ebaed
								
							
						
					
					
						commit
						cc5154af6d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1297,8 +1297,8 @@ rb_w32_start_process(const char *abspath, char *const *argv, int out_fd)
 | 
			
		|||
{
 | 
			
		||||
    /* NOTE: This function is used by MJIT worker, so it can be used parallelly with
 | 
			
		||||
       Ruby's main thread. So functions touching things shared with main thread can't
 | 
			
		||||
       be sued, like `ALLOCV` that may trigger GC or `FindChildSlot` that finds a slot
 | 
			
		||||
       from shared memory without locks. */
 | 
			
		||||
       be sued, like `ALLOCV` that may trigger GC or `FindFreeChildSlot` that finds
 | 
			
		||||
       a slot from shared memory without atomic locks. */
 | 
			
		||||
    struct ChildRecord child;
 | 
			
		||||
    char *cmd;
 | 
			
		||||
    size_t len;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue