% %
% %
% %
++ D i s t r i b u t e d P i x e l C a c h e %
+% %
+% %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% DistributedPixelCache() waits on the specified port for commands to
+% create, read, update, or destroy a pixel cache.
+%
+% The format of the DistributedPixelCache() method is:
+%
+% void DistributedPixelCache(const size_t port)
+%
+% A description of each parameter follows:
+%
+% o port: connect the distributed pixel cache at this port.
+%
+*/
+MagickExport void DistributedPixelCache(const size_t port)
+{
+ (void) port;
+ for ( ; ; ) sleep(1);
+}
+\f
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% %
+% %
+ D e s t r o y I m a g e P i x e l C a c h e %
% %
% %
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*/
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
-#include "MagickWand/mogrify-private.h"
-#undef DegreesToRadians
-#undef RadiansToDegrees
+#include "MagickCore/cache-private.h"
#include "MagickCore/image-private.h"
+#include "MagickWand/mogrify-private.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
concurrent=MagickTrue;
if (LocaleCompare("-debug",option) == 0)
(void) SetLogEventMask(argv[++i]);
+ if (LocaleCompare("-distributed-cache",option) == 0)
+ DistributedPixelCache(StringToUnsignedLong(argv[++i]));
if (LocaleCompare("-duration",option) == 0)
duration=StringToDouble(argv[++i],(char **) NULL);
if (LocaleCompare("-regard-warnings",option) == 0)
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",
*miscellaneous[]=
{
"-debug events display copious debugging information",
+ "-distributed-cache port",
+ " distributed pixel cache spanning one or more servers",
"-help print program options",
"-list type print a list of supported option arguments",
"-log format format of debugging information",