lkml.org 
[lkml]   [2022]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] kthread: Stop abusing TASK_UNINTERRUPTIBLE (INCOMPLETE)
On Mon, Jun 27, 2022 at 09:22:37AM +0200, Peter Zijlstra wrote:
> Yes, I so wish C had reasonable lambda expressions :/ But even if we
> could come up with a semi sensible syntax and implementation, it would
> still be many *many* years before we could actually use it in-kernel :-(

Yeah, I have a hard time imagining this happening in C but maybe we'll
get pretty good closure support through rust-in-kernel if that works
out. That'd be pretty sweet even though we might not be able to use it
everywhere.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2022-06-27 10:12    [W:0.534 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site