QNX6.5 MAX Threads Possible

Any one know how many maximum threads we can use in the task?

tid is int so maximum 2^31 or while free memory present.