sem.c

Signed-off-by: rock.liu <momo0853@live.com>