OK. FYI, if you ever wanted to, you can run them in parallel; always could. I'm currently tweaking things to make this easier. (The suggested way would be to use JoinLink. Or ParallelLink. and if this is too complicated, don't bother, unless you've got some kind of responsiveness issue or something.
--linas On Tue, Feb 26, 2019 at 10:34 PM Leung Man Hin <[email protected]> wrote: > Should be one thread, there are no BindLinks/GetLinks that run in parallel. > > On Wed, Feb 27, 2019 at 12:27 PM Linas Vepstas <[email protected]> > wrote: > >> >> >> On Tue, Feb 26, 2019 at 9:18 PM amebel@hr <[email protected]> >> wrote: >> >>> Ghost uses openpsi loops. These are atomspace recursive calls running in >>> a scheme thread. >>> >> >> But is this one thread. or more than one thread? (I'm not asking about >> any threads that you might now know about. There are a few, in the logger, >> in the persistence backend; I'm not worried about those.) >> >> --linas >> >>> >>> On Wednesday, February 27, 2019 at 3:53:57 AM UTC+8, linas wrote: >>>> >>>> Quick, but maybe hard question: is ghost multi-threaded? >>>> >>>> Specifically, does ghost ever run several BindLinks or GetLinks in >>>> parallel, in different threads? (That's the important question I want to >>>> know about) How about PLN, URE or pattern miner? >>>> >>>> If there is multi-threading, are you using ParallelLink, JoinLink, or >>>> are you using roll-your-own home-made threading? >>>> >>>> I want to make some design changes, but do not want to mess up current >>>> users/systems. https://github.com/opencog/atomspace/issues/1502 >>>> >>>> -- Linas >>>> >>>> -- >>>> cassette tapes - analog TV - film cameras - you >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "opencog" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/opencog. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/opencog/34eff1a1-2e28-400f-99dd-e3efbde4065d%40googlegroups.com >>> <https://groups.google.com/d/msgid/opencog/34eff1a1-2e28-400f-99dd-e3efbde4065d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> cassette tapes - analog TV - film cameras - you >> >> -- >> You received this message because you are subscribed to the Google Groups >> "opencog" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/opencog. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/opencog/CAHrUA37ngtPrpie3kYQzv0%2BcZk51SnyRLqNjr6P%2B735S8bDFMQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/opencog/CAHrUA37ngtPrpie3kYQzv0%2BcZk51SnyRLqNjr6P%2B735S8bDFMQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/CAMfi0B%2B9OvN05Fhahcs36V2Sxbvcrc_BXFq1iTO8H_xnUBH2xg%40mail.gmail.com > <https://groups.google.com/d/msgid/opencog/CAMfi0B%2B9OvN05Fhahcs36V2Sxbvcrc_BXFq1iTO8H_xnUBH2xg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- cassette tapes - analog TV - film cameras - you -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CAHrUA37ELfTAw2jowyzedmTbOBCpXmZrbho%2BYK2uY_t-eTc2YA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
