Hi every body.

As Ive said in the title, my question is how can I kill a blocking function?

My problem is with the Apple80211Associate function. It spends a lot of time if the asociation can not be done. It spends over 6 seconds for me.

So, my idea is to kill this process when it has spent 2seconds or less. But, if it can be done, how can kill the process?

Ill be very gratefull if somebody could help me.

Thank you guys.