[x264-devel] Updated (and hopefully final) threaded slicetype patch

Leon Woestenberg leon.woestenberg at gmail.com
Tue Apr 7 19:02:28 CEST 2009


Hello,

On Fri, Apr 3, 2009 at 8:53 PM, Mike Kazmier <DaKaZ at zenbe.com> wrote:
> Please find version 13 (lucky # 13) of the threaded slicetype patch.  This patch is overhauled to be more "windows" friendly (read: no use of usleep) and strictly use pthread_cond_wait/broadcast.  All known issues around broken decisions are resolved at this time.  As always, please feel free to beat up the patch, test it, etc - no pride in authorship here, we just want it to be the best it can be.
>

How can one trigger the _wait() condition easily? (I only have two cores here)

    if ( ( slist->i_max_size > 0 ) && (slist->list[slist->i_max_size - 1] ) ) {
       printf("frame_list_put() full, waiting for space.\n");
       x264_pthread_cond_wait( &slist->cv_empty, &slist->mutex );

Regards,
-- 
Leon


More information about the x264-devel mailing list