Avoid calling time(NULL) when not needed.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 3 Feb 2011 15:40:48 +0000 (16:40 +0100)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 3 Feb 2011 15:42:53 +0000 (16:42 +0100)
commitaf6e1f8cd79c76beaf9388edcf722d873e9ae756
tree8aa66ed8127e2bb3ee609eb3622ead5991a05d99
parent8c005a8302b4c728707741db6b1b6a4080d92ca9
Avoid calling time(NULL) when not needed.

* handles.c (_wapi_handle_ref): Avoid calling
time(NULL) for the private case. Some systems implement
it using a syscall.

* handles.c (_wapi_handle_new_from_offset): Ditto.
mono/io-layer/handles.c