gatomic.h
实现原子操作,Windows下用InterlockedExchangeAdd等实现。
gbitlock.c
对bit进行加锁,直到调用g_bit_unlock。
gbase64.c
base64加解密。
gbuffer.c
buf的创建,删除。
gcache.h
实现cache。
ghash.h
实现hash。
ghook.c
实现hook类型的双链表GHookList。
ghostutils.c
英特网主机名工具。
giowin32.c
实现对IO的读写,例如g_io_channel_win32_make_pollfd会读写socket的fd。
gkeyfile.c
[test]
str_value=hello world 这种就叫keyfile,网上有些例子。
glist.h
实现一个双链表。
gmarkup.c
Creates a new parse context. A parse context is used to parse marked-up documents。
gmappedfile.c
Maps a file into memory。
gmem.c
内存管理。
gmessages.c
打日志。
gnode.c
N-ary Trees。
goption.c
parses commandline options。
gpattern.c
glob风格通配符规则。
gpoll.c
poll的实现。
gprimes.c
Prime numbers。
gqsort.c
实现的一个快排算法。
gqueue.c
GList实现的一个queue。
grand.c
随机数生成器。
gregex.c
正则匹配
grel.c
Relations and Tuples
gstring.c
对string的封装。
gthread.c
对thread的封装。
gthreadpool.c
线程池
gtimer.c
时间的封装,通过GetSystemTimeAsFileTime得到时间。
gtree.c
Balanced binary trees