Opened 12 years ago

Closed 11 years ago

#21 closed defect (fixed)

don't need yield-syscall constant in x8664-arch.lisp

Reported by: rme Owned by: gb
Priority: trivial Milestone:
Component: Compiler Version: 1.1
Keywords: Cc:

Description (last modified by gb)

The constant yield-syscall defined in x8664-arch.lisp isn't used anywhere and could be removed.

Change History (2)

comment:1 Changed 12 years ago by gb

  • Description modified (diff)
  • Status changed from new to assigned

The CCL::YIELD function currently uses #_sched_yield, and I think that it's reasonable to insist that the C library provide #_sched_yield. CCL::YIELD is currently only used to wait for spin locks, and you could probably make the function a NOP and live to tell about it when porting to some platform that didn't provide #_sched_yield.

The constant - defined where it is and in the way that it is - often caused bootstrapping problems, so I agree that it should be removed (from the ppc*-arch files as well.)

comment:2 Changed 11 years ago by rme

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.