]> granicus.if.org Git - postgresql/commit
This patch updates the ImageViewer example to use Multiple Threading.
authorBruce Momjian <bruce@momjian.us>
Mon, 12 Oct 1998 02:45:45 +0000 (02:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 12 Oct 1998 02:45:45 +0000 (02:45 +0000)
commit03ab5f01740a7c2c3fe570d5253aa9bd039d0c70
tree7263562f1de99aa399f57b343d9d21e0aa417de7
parentd32c89bbb81dc77dda32bcf0cc9fb2964c84fc84
This patch updates the ImageViewer example to use Multiple Threading.

When importing an image into the database, the example now fires off a
new
Thread, which imports the image in the background. This also means that
the application doesn't freeze on the user, and they can still browse
the
images in the database, while the upload is running.

This now makes the ImageViewer a true example on how to use Threads (the
threadtest class is just that - a test).

Peter
src/interfaces/jdbc/example/ImageViewer.java