[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] pthreads ?



IIRC there is a problem with basepage, that makes context switch expensive when using threads. Workaroud (using pexec) was made by Draco030, so he is the one to ask.

AdamK

W dniu 19.05.2011 12:53, Mariusz Buras pisze:
Does anyone know what are the threading complications Adam is talking
about ?


Greetings/Pozdrawiam,
M.Buras


2011/5/19 Adam Kłobukowski <adamklobukowski@gmail.com
<mailto:adamklobukowski@gmail.com>>

    W dniu 19.05.2011 11:41, Miro Kropáček pisze:

            Do we have pthreads for MiNT? Anything similar?

        Only a "simulation" by GNU pth
        (http://www.gnu.org/software/pth/), you
        can find it on Patrice's website.


    There are also MiNT threads, but they are quite expensive, due to
    TOS ancestry. There is a workaround around that using Pexes and some
    magic. This workaround is used by MiNTLib fork(), so it might be the
    best choice for threading under FreeMiNT.

    AdamK