Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gt.carp

A simple wrapper around my greenthread implementation.

Installation

Currently you have to use make install to get libgt on your system. The process then becomes

make install
carp -x examples/print.carp

Caveat Emptor

This implementation will leak memory whenever gt_stop or gt_ret are called, since they kill the current thread before its resources can be reclaimed. Since those processes do not get killed before the system exits, this is “only” an annoyance, since we’re wasting memory. The OS will later reclaim that memory, but oh well. In order to rectify this, we’d probably need deeper support for greenthreads inside Carp proper.


Have fun!

About

A gt wrapper for Carp (greenthreads, yay!)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages