prevCount
threadman: add incomplete threadman_user.h
usersystemlib: make it compile