I am writing a new module to give access to the (linux only, at the moment) ioprio_get(2) and ioprio_set(2) functions,having not found one already on CPAN.
Could I please have some advice on naming it. IO::Priority doesn't seem right as most of IO:: is actually file handle IO and this relates to disk IO. CPAN doesn't want Sys:: to be used so Sys::IO_Prio seems to be not right either.
I am also considering the API -- whether to do a thin wrapper which follows the C API closely, or something at a higher level, say with separate functions set_process_iopriority(), set_pgrp_iopriority(), set_user_iopriority() which may ease making it cross platform when other OS have the capability.
This is my first attempt at writing a module, so I would appreciate some advice from those more experienced.
Many thanks
Mark
In reply to Advice on new module for IO Priority by leepen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |