On Jun 21, 2018, at 5:28 AM, Dennis Clarke <[email protected]> wrote:
>
> So I then read ext/async/README.txt and took a look around whereupon
> I see these use "sched_yield" :
>
> ./ext/async/sqlite3async.c
> ./src/test4.c
> ./src/test7.c
> ./test/crashtest1.c
> ./test/threadtest1.c
> ./test/threadtest2.c
> ./test/threadtest4.c
>
> So this is ... just curious to me. I would think that everything I would
> need would be in libtclsqlite3.so or libsqlite3.so.0.
sched_yield(3) is a POSIX API function, since 2001.
It’s not explicit in the Solaris docs, but it appears it may require -lrt:
https://docs.oracle.com/cd/E88353_01/html/E37843/sched-yield-3c.html
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users