Re: PATCH/FIX for drivers/cdrom/cdrom.c



Ar Iau, 2006-08-17 am 14:27 +0200, ysgrifennodd Bodo Eggert:
HAL using O_EXCL will randomly prevent burning/mounting/etc by causing a
race condition, so it can't do that. HAL not using O_EXCL will OTOH succeed

man 3 sleep
man 2 flock

or in the GUI world I'm firmly assured that the sun shines out of the
arse of dbus for intra desktop communication.

Lots of solutions.

Maybe it's possible to cache the result and thereby prevent repeated
opening from disturbing the burning process.

We could certainly add an ioctl for this in the new libata layer. We
couldn't automate it as with pass through commands the kernel doesn't
really know what kind of exclusivity is needed and when.

Not sure its actually useful but its doable.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: BackGroundWorker und Form!
    ... Genau mit SLEEP gibst Du Windows genügend ... Zeit auch Deine Ereignisse auf der GUI zu verarbeiten (z.B. wie in ... deaktiviert, dann friert die GUI! ... dass es sich um multithreading mit allen seinen Besonderheiten ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Help Me!
    ... I thought the thread doing the calculations should ... > sleep() at intervals to allow the Gui to respond. ... the behavior of threads with different priorities id fully ... One of my apps had a thread that updated a GUI. ...
    (comp.lang.java)
  • Re: Help Me!
    ... I thought the thread doing the calculations should ... > sleep() at intervals to allow the Gui to respond. ... the behavior of threads with different priorities id fully ... One of my apps had a thread that updated a GUI. ...
    (comp.lang.java.gui)
  • Re: Loon census
    ... Wall Of Sleep ... Quite a flock we've got swimming around here right now. ...
    (talk.origins)
  • Re: Win32::GUI and Scrolling Text
    ... else sleep again and repeat. ... It then loops back and starts reading where it left off (if there are ... I don't need this "event handler loop" stuff getting in my way. ... Can I just do a fork and say "Here Mr. TK GUI, ...
    (comp.lang.perl.misc)