mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Replace copy coroutine with pthread implementation.
This commit is contained in:
		
							parent
							
								
									9c9531950c
								
							
						
					
					
						commit
						42130a64f0
					
				
					 30 changed files with 492 additions and 449 deletions
				
			
		| 
						 | 
				
			
			@ -25,6 +25,7 @@ enum {
 | 
			
		|||
struct coroutine_context
 | 
			
		||||
{
 | 
			
		||||
    void **stack_pointer;
 | 
			
		||||
    void *argument;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
typedef void(* coroutine_start)(struct coroutine_context *from, struct coroutine_context *self);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue