mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ae0d7a0c16
create mruby-task gem directory structure with: - mrbgem.rake: gem specification with task scheduler define - include/task.h: tcb structure and core scheduler declarations - src/task.c: implementation skeleton with empty method stubs - mrblib/task.rb: ruby api documentation and task::stat class all methods have empty bodies ready for implementation. Co-authored-by: Claude <noreply@anthropic.com>
9 lines
307 B
Ruby
9 lines
307 B
Ruby
MRuby::Gem::Specification.new('mruby-task') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.authors = 'mruby developers'
|
|
spec.summary = 'Cooperative multitasking with preemptive scheduling'
|
|
|
|
spec.cc.defines << 'MRB_USE_TASK_SCHEDULER'
|
|
spec.add_dependency 'mruby-fiber' # Uses same context infrastructure
|
|
end
|