Message110496
| Author |
pitrou |
| Recipients |
belopolsky, georg.brandl, mark.dickinson, pitrou, rhettinger, rnk, tim.golden, tim.peters |
| Date |
2010年07月16日.21:00:43 |
| SpamBayes Score |
0.013755074 |
| Marked as misclassified |
No |
| Message-id |
<1279314040.3242.26.camel@localhost.localdomain> |
| In-reply-to |
<1279313763.3242.23.camel@localhost.localdomain> |
| Content |
> > It looks like my reluctance to add gettimeofday to core without using
> > it there was well founded. Simply adding a dummy call to
> > _PyTime_gettimeofday in main() fixed the build problem.
>
> It's rather strange. I'm sure we have external API functions which never
> get called in the core. Just a couple of attempts found one candidate:
Hmm, after thinking about it, what happens is that the C object file is
not used at all, so it's probably optimized away by the linker.
In any case, you could use the new API in Python/thread_pthread.h. |
|