doc: typo fix from Zheng Ping.
This commit is contained in:
Родитель
c07aac16e7
Коммит
7e96a2dda6
|
@ -5355,7 +5355,7 @@ The "light threads" are not scheduled in a pre-emptive way. In other words, no t
|
|||
|
||||
For the first two cases, the "light thread" will usually be resumed later by the ngx_lua scheduler unless a "stop-the-world" event happens.
|
||||
|
||||
User "light threads" can create "light threads" themselves and normal user coroutiens created by [coroutine.create](#coroutinecreate) can also create "light threads". The coroutine (be it a normal Lua coroutine or a "light thread") that directly spawns the "light thread" is called the "parent coroutine" for the "light thread" newly spawned.
|
||||
User "light threads" can create "light threads" themselves. And normal user coroutines created by [coroutine.create](#coroutinecreate) can also create "light threads". The coroutine (be it a normal Lua coroutine or a "light thread") that directly spawns the "light thread" is called the "parent coroutine" for the "light thread" newly spawned.
|
||||
|
||||
The "parent coroutine" can call [ngx.thread.wait](#ngxthreadwait) to wait on the termination of its child "light thread".
|
||||
|
||||
|
|
|
@ -4514,7 +4514,7 @@ The "light threads" are not scheduled in a pre-emptive way. In other words, no t
|
|||
|
||||
For the first two cases, the "light thread" will usually be resumed later by the ngx_lua scheduler unless a "stop-the-world" event happens.
|
||||
|
||||
User "light threads" can create "light threads" themselves and normal user coroutiens created by [[#coroutine.create|coroutine.create]] can also create "light threads". The coroutine (be it a normal Lua coroutine or a "light thread") that directly spawns the "light thread" is called the "parent coroutine" for the "light thread" newly spawned.
|
||||
User "light threads" can create "light threads" themselves. And normal user coroutines created by [[#coroutine.create|coroutine.create]] can also create "light threads". The coroutine (be it a normal Lua coroutine or a "light thread") that directly spawns the "light thread" is called the "parent coroutine" for the "light thread" newly spawned.
|
||||
|
||||
The "parent coroutine" can call [[#ngx.thread.wait|ngx.thread.wait]] to wait on the termination of its child "light thread".
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче