Re: [PATCH v13 2/6] rust: introduce module_param module

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

 



On Mon, Jun 23, 2025 at 1:48 PM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> Another way would be to use a `Once`-like type (does that exist on the C
> side?) so a type that can be initialized once and then never changes.

There are `DO_ONCE{,_SLEEPABLE,_LITE}`.

Cheers,
Miguel





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux