Re: Locked files not [REPLACE APPEND=T]ed

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33102
interpreted = N
texte = >Eventually, I figured out that large chunks of records were not >getting written to db2 when I opened db2 in BBEdit. That is, when >BBEdit opened the file it was putting a lock on it, preventing WebCat >from writing to the database. This only happened during the actual >opening process, not the entire time I had the BBEdit window open.When a file is unavailable, it's almost like it doesn't even exist, so I can see how WebCatalog would have trouble appending to the file. But what surprises me is that BBEdit and WebCatalog are even intermixing thread time at all, considering MacOS is not preemptive multithreaded. Perhaps Apple has been allowing more inter-process thread mixing as the OS increases in complexity.I don't have a solution for this one, because I don't know how one would tell if the file is in use by another process, and we wouldn't know how long to wait for it (it could be forever, as in the case of SimpleText locks).Grant Hulbert, Director of Engineering ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development Main Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Locked files not [REPLACE APPEND=T]ed (Grant Hulbert 2000)
  2. Locked files not [REPLACE APPEND=T]ed (Michael Winston 2000)
>Eventually, I figured out that large chunks of records were not >getting written to db2 when I opened db2 in BBEdit. That is, when >BBEdit opened the file it was putting a lock on it, preventing WebCat >from writing to the database. This only happened during the actual >opening process, not the entire time I had the BBEdit window open.When a file is unavailable, it's almost like it doesn't even exist, so I can see how WebCatalog would have trouble appending to the file. But what surprises me is that BBEdit and WebCatalog are even intermixing thread time at all, considering MacOS is not preemptive multithreaded. Perhaps Apple has been allowing more inter-process thread mixing as the OS increases in complexity.I don't have a solution for this one, because I don't know how one would tell if the file is in use by another process, and we wouldn't know how long to wait for it (it could be forever, as in the case of SimpleText locks).Grant Hulbert, Director of Engineering ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development Main Line: (858) 675-1106 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Grant Hulbert

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

formula??? (2000) How To question on setting up downloads (1997) Logging purchases (1997) Encrypting the seed (2001) [WebDNA] Need Rosetta to install on OS X? (2010) [OT] Xserve (2002) Fun with Dates - revisited (1997) fixed date problem (1997) Can't use old cart file (was One more try) (1997) Extended [ConvertChars] (1997) Retaining formatting (2000) WebCat2b12 - New features for 1.6 users ... (1997) Writefile (2000) WebCat2b13 Command Reference Doc error (1997) turning every 5th line red (1999) more cookie crumbling (1999) case number with spaces. (2000) Other tags inside the founditems context? (1998) Which GUI HTML editors work with WC ? (1997) Quit revisited (1997)