NMQueue Implementation C90