Merge pull request #105 from richford/master

Remove inner_ext methods that accept function pointer argument
Fixed a bug that could cause a deadlock in fence with a very long wait time.