[Top][All Lists]

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

Re: [PATCH] Support threads in modules

From: Philipp Stephani
Subject: Re: [PATCH] Support threads in modules
Date: Sun, 23 Apr 2017 15:54:40 +0000

John Wiegley <address@hidden> schrieb am So., 23. Apr. 2017 um 08:14 Uhr:
>>>>> "EZ" == Eli Zaretskii <address@hidden> writes:

EZ> I don't think I understand this. From my POV, restricting modules to be
EZ> called only from one thread is too restrictive, and I see no reason for
EZ> that.

I see Eli's point here; I'm wondering Philipp, did you run into a particular
problem your patch is trying to solve, or are you trying to preempt future

The particular problems I'm trying to solve are:
- With multithreading, the current thread check (that only checks for the main thread) is clearly incorrect and I wanted to fix it.
- I finally wanted to start writing some documentation about the module API. For that, I need to know both its desired and actual behavior, including preconditions, guarantees, and restrictions. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]